Design comparison
Solution retrospective
This challenge was so amazing since it made do what i have never done before and i am so delighted about that . Nevertheless, i had difficulties getting data from api and so had to add manually . Can anyone guide me on how to use use data from api to build charts
Community feedback
- @rhyuenPosted about 2 years ago
You can use the following to pull the data from the included "data.json" file locally.
import data from "./data.json" assert {type: "json"};
From there, you can console.log(data) and you'll be able to see the array of seven items.
0@BLADEHEDAPosted about 2 years ago@rhyuen I just tried and i am having mysterious errors . can you show me how you implemented that in your code so i can learn how to that .???
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