Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

Frontend Quiz App (JS/SCSS)

sass/scss, bem
Bartosz Dudziak•720
@bartoszdudziak-dev
A solution to the Frontend Quiz app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?
  • My solution looks quite good and works well even for more than four answers per question
  • I am proud of the theme toggle 😎
  • I would definitely build the code structure in better way. I split it in functions but it still can be messy for other people
  • I think I will refactor it using classes someday 😅
  • Also I'm going to add more animations, celebration effect and upgrade keyboard control
What challenges did you encounter, and how did you overcome them?
  • I had to use css custom variables with my scss to make theme toggle works
  • I found out that I can't use innerHTML for answers because they contain HTML code 😅
  • It was quite easy to make it working but I'm still weak in structure and DRY
What specific areas of your project would you like help with?

I did not use any frameworks and libraries. I think I am getting ready to start learning it. What should I start with?

All comment will be helpful! Please leave your opinion 🫡

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Bartosz Dudziak'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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License