Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
I'm proud of how far I've come with my JavaScript code. I strive to write clean, efficient and understandable code while keeping it DRY 🙂.
What challenges did you encounter, and how did you overcome them?I used a switch...case statement to change the previous stats text (i.e. yesterday, last week and last month) when the stats are switched. is there a better way i could have done this?
What specific areas of your project would you like help with?- I decided to use
import
notfetch
because it felt easier for me to understand and use. isfetch
a better option? or i can keep usingimport
without expecting future problems? - any advice on the 'duplicate id' errors i receive on the HTML report?
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