Design comparison
Solution retrospective
Super proud that I was able to overcome the CORS error by simply using VS Code Live Server extension. I am also proud of using JavaScript to dynamically insert data values into the appropriate places.
What challenges did you encounter, and how did you overcome them?Encountering CORS was not fun. Using Live Server was an absolute save!
What specific areas of your project would you like help with?Could I have made my JS code more clean or neat? I was originally thinking of breaking the entire file into different functions: One for retrieving data; one for handling button states; one for dynamically inserting data. However, this method became too complicated and I found my logic all over the place.
Any suggestions for making my code neater and cleaner would be appreciated.
Community feedback
- @frontend-enPosted 7 months ago
Hope this helps you.
- To get rid of the bottom border in a card, you can use liner-gradient with colorStop.
- I like animation
- You can use import data from '../data.json' assert {type: 'json'}; so you don't have to use promises
So, good job.
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