Submitted about 4 years agoA solution to the Expenses chart component challenge
expenses-chart-component-main
vanilla-extract, fetch
LVL 2
@FraneSpralja

Solution retrospective
The main problem that I have with this project was on the deploy, because gitHub and Netlify does not read the json file with the data. I do not find the answer, so if anyone can help with this I will thank him/her.
To deploy the project I change the data.json file to data.js. In the main repository I work with async await function (to read the json file), but in th gh-pages repository I work directly with the array.
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Frane’s solution.
Join 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