
I learned JavaScript fetch API and html template
Design comparison
Community feedback
- @khatri2002Posted about 2 months ago
Hi @proAbenezer!
The developed solution looks good! But take note that it is not fully functional yet.
The view of the cards is not changing when clicking on "Daily", "Weekly", or "Monthly" buttons.
Since you're already loading data dynamically from
data.json
(which is great!), now you just need to update the cards when a button is clicked.What needs to happen?
- Clicking "Daily", "Weekly", or "Monthly" should update the displayed data.
- The data for all three views is already present in
data.json
. - You need to set state to track the selected view and update the UI accordingly.
Feel free to reach out if you need further guidance! Keep up the great work! 🚀
0@proAbenezerPosted about 2 months ago@khatri2002, I could really use your help. Would you be able to assist me?
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord