Design comparison
SolutionDesign
Solution retrospective
How can I get json link in project? They give me json files manually in project but I want to work with fetch. Please help me.
Community feedback
- Account deleted
Love the idea of choosing this difficult challenge !!
Marked as helpful0 - @rafaelrmbPosted over 2 years ago
Hi Khant, here is an example on how to use fetch to collect the data from the json file. I was able to complete my project using this. Give it a try!
fetch('data.json') .then(function (response) { return response.json(); }) .then(function (data) { //do something
});Marked as helpful0@KhantMin200Posted over 2 years ago@rafaelrmb Thanks for your answer bro. Your answer is really helpful to me. Could we be friends? By the way, I am 18.
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