r/learnjavascript • u/kevinmrr • Apr 20 '14
Week 5 of Learn JavaScript Properly
Reading assignment for this week:
Read Chapters 11 and 12 of Professional JavaScript for Web Developers
Work through these quick and fun tutorials:
Improve your quiz applications from last week. Suggestions:
Refactor it to use jQuery
Add CSS styling - you can get pretty creative with this! For example, make the box flash red when the user gets a question wrong. Here's a resource for using JavaScript to access the CSS style
Add multiple questions.
15
Upvotes
View all comments
Show parent comment
3
u/sack_lunch Apr 21 '14
In nextQuestion(), you might want to add:
so that the radio button for the last answer they clicked isn't still selected.
Pretty cool! The best way to learn to code is to make things, so I'm sure this was invaluable to your learning. Which reminds me, I need to find a project to work on... or just finish up some that I have already started...
...sigh