Design comparison
SolutionDesign
Solution retrospective
:) I have tried updating the active chart(the one with cyan color) with respect to the date. So, it keeps updating based on the day ;)
Qn. I have one question with importing the json file into javascript. I have come up with a solution that uses assert statement which works for all the browsers but not in firefox. Can some one help me with the solution that works for all the browsers?
Community feedback
- @ProgressOnyemaPosted almost 2 years ago
Try using the fetch api to import the json file to your JavaScript file. This will work whether it is located locally or remotely(on a server).
Hope the insight helps!
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