I was happy to have completed the project, although the way I solved it was not the way I initially set out to do it.
What challenges did you encounter, and how did you overcome them?My ideal approach to this project was to use the fetch()
API, but unfortunately, that did not come to fruition because the Parcel live server was just not loading the data I needed from the local JSON file. However, with VSCode's live server, it was not an issue. I ended up using es6 imports to get the data from there.
I would be happy if someone could help me figure out how to fetch or load local data using the fetch()
API when working with a parcel live server.
I would also like any suggestions as to how I can improve my code.