Frontend Quiz App using Vite and Sass with Vanilla JS
Design comparison
Solution retrospective
- I learned how to work with a multi step form in a multi page challenge.
- I learned how to build a toggle button that is accessible and using for light/dark toggle.
Using a framework like react to code java script
What challenges did you encounter, and how did you overcome them?Multi page app was challenging. Make an accessible toggle button was challenging too.
What specific areas of your project would you like help with?Please look at my page and If you see any bugs or error please tell me to work on it. and If you see any mistake in my code please let me know to prevent doing it in the future challenges. Thank you very much
Community feedback
- @nvallinePosted 3 months ago
Hi Kamran,
Good job with this project! There were some tricky elements and you seem to have implemented them well.
When I toggle the dark/light switch it only functions when I click on the icons, but not when I click on the 'switch'. For a better user experience, adding the functionality to the 'switch' would be an improvement as most people will click there first.
You may be able to achieve this by adding an event listener to the class, 'c-toggle__wrapper' and when it is clicked it toggles between the dark & light themes.
I hope this is helpful.
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