This personality quiz returns a result that you are either a classical person or a pop person.
Your project should:
- Have at least three questions.
- Have at least two answers to each question that correspond to the quiz outcomes.
- Allow a person to select an answer by clicking a button.
- Display different outcomes for different combinations of answer selections.
- Allow a person to restart the quiz by clicking a button.
You can extend your project further by:
- Adding more questions to your quiz.
- Customizing the look and feel with CSS.
- Creating a button to update result instead of having it display unprompted.
- Disabling buttons after a person selects an answer.
- All images from Pixabay
That's this file. This is the place to tell people more about what your website does and how you built it.
HTML files are for content! Add your text, images, buttons, and more using HTML tags.
CSS files add styling rules to your content like changing colors and fonts.
JavaScript files add interactivity to your website using code. This is where you can listen for events, then take an action.
Drag in assets, like images or music, to add them to your project. You do not need to add anything to this folder unless you are working on the extensions. If you are adding an image, it is best to save it to your computer, then upload the file to the assets
folder. The url of the image will be assets/example.jpg
.