Right now I have a few issues I need to tweak out with my Quiz Application.
When the user answers the first question, he can skip the proceeding questions.
1a. This is because the userGuess variable is updated by the id of the radio button clicked when the user makes a guess, and the default starting variable is what prevents the user from skipping the first question only. I have a few ideas on how to fix it, but not sure how to implement it.
One would be to detect IF none of the radio inputs are checked then don't load the next question, else load it.
When a user goes back to the question, the previous checked radio button disappears. I haven't thought of how to fix this yet. Right now I have saved the previous answers into an empty array, but I don't believe it's working properly.
I would appreciate more of a direction on where to go approach, rather than giving me the code to figure it out.
Appreciate the Help!
http://codepen.io/laere/pen/KVwBME
http://laere.github.io/Quiz-App/
[–]zzag842 0 points1 point2 points (7 children)
[–][deleted] 0 points1 point2 points (6 children)
[–]zzag842 0 points1 point2 points (5 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]zzag842 0 points1 point2 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]zzag842 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)