@James-alderson
Posted
Hi Vani, I have made a fork in your project's github repository, you can see there the solution to get the data from the data.json file.
To get data from data.json file:
- First, be familiar with the asynchronous concept in JavaScript.
- Then, with the help of one of the methods (XHR or Fetch API), get the information from the external file or web API.
Of course, I have also made some changes in the main files of the project, which I have written in the Changes.txt file. I have written a series of solutions that will help you to code better and cleaner. And I have put it in the Solutions.txt file.
Don't worry about the many solutions in the Solutions.txt file, you will learn them over time.
It is better to practice a lot on your flexbox and css grid
I have put the address of the videos with which I have been able to understand the asynchronous concept and get information by Fetch in my GitHub repository, you can visit them.
Continue to learning 💪 And happy codding 🚀
Marked as helpful
@VANIMEHTA
Posted
@James-alderson hey! thank you so much for the help, I'll check out the resources you have mentioned for better understanding!