Skip to content

OguzcanKarakoc/frontend-quiz-app-vue

Repository files navigation

Frontend Mentor - Frontend quiz app solution

This is a solution to the Frontend quiz app challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Overview

The challenge

Users should be able to:

  • Select a quiz subject
  • Select a single answer from each question from a choice of four
  • See an error message when trying to submit an answer without making a selection
  • See if they have made a correct or incorrect choice when they submit an answer
  • Move on to the next question after seeing the question result
  • See a completed state with the score after the final question
  • Play again to choose another subject
  • View the optimal layout for the interface depending on their device's screen size
  • See hover and focus states for all interactive elements on the page
  • Bonus: Change the app's theme between light and dark

Screenshot

Links

My process

Built with

  • Vue
  • Tailwindcss
  • Pinia
  • Vueuse
  • Vue router
  • Mobile-first workflow
  • Love

Continued development

I havent't added tests yet, this is something I would like to add in the future

Useful resources

  • github - This helped me fix and anoying bug where updating useDark would stop the switch transition animation

Author