Design comparison
Community feedback
- @Manuelcoder02Posted 3 months ago
Can you share some insight on how you fetch the API in the local json file?
0@tannguyenk3Posted 3 months ago@Manuelcoder02 Hi bro, sorry my late respond
-
You need to add data inside js file, for example in this challenge we had json.data and go to js file get data by symtax: let data = [ input your data here]
-
In this challenge requested of them is output date from button. So you have to retrieve data from button, add event listener and click for button.
-
Then your button can active, next step is add data for button from data js. So that after each click, the data will automatically appear in the screen.
This is the video can help you undertand more for your question. https://youtu.be/l9Qw8y3LfCY?si=-FZlRBhkxhNTcaFA
Thank your feedback
0@tannguyenk3Posted 3 months ago@Manuelcoder02 But are you kidding me? You are best about frontend, I saw it by your infomation, bro :)
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