My mind has went completely blank. I have the layout of the 3 question quiz that I made. I just cant figure out the Javascript code that I need to use. Once submitting the quiz, it needs to validate that all questions have answers (I dont wanna use alert or prompt saying you didnt do this or that). I wanna style it with like it highlighting red or something. After it is answered I would like it to display the number of correct answers. Say I get 2 out of 3 right. It display I got 2 right (I wanna use innerHTML or appendChild) Here is how I have it set up:
Quiz1. Red and Blue gets what color?
Green
Purple
Yellow
2. Trick or ?
3. What is the best movie series of all time?
Harry Potter
Twilight
Star Wars
Submit Quiz
Just need some help with this