A React & JavaScript knowledge test.
You will build a light Reddit clone using the listings api.
View the end result here.
Allow some time (~10s) for Heroku to boot the app.
Complete the app by filling the missing parts listed below.
TASK 01: Call the api function
(src/App.js)
TASK 02: Fetch data from api
(src/api.js)
TASK 03: Render the posts
(src/App.js)
TASK 04: Layout the posts
(src/components/PostList.js)
TASK 05: Implement the dark mode hook
(src/hooks/useDarkMode.js)