Frontend Quiz app v1

Please log in to post a comment
Log in with GitHubCommunity feedback
- P@mehmetcagriekici
Congratulations! In general, I really liked your commenting.
Clean HTML structure, readable code.
Great use of CSS variables, and responsive units. Turning typographies into utility classes is a really clean way of executing the design system text presets. Also a really clean implementation of the dark mode.
When it comes to your script, it could be more organized, and you could've created components instead of adding the HTML directly. Also, you could have used more comments here, it's somewhat hard to read and understand. Instead of fetching the data in the Global Scope, it's always a good idea to create a function, maybe an asynchronous function. And instead of storing the data in the Global Scope, you can create a state with a simple object. Creating a state gives more control over the app management. Overall, great effort! Congratulations, I must admit that your solution is better than mine.
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