Simple Addition

This is a small assignment I did for my Javascript class. An alert pops up and asks the user what 2+3 is. If the wrong answer is entered another alert pops up and tells the user it was wrong. The user can keep entering numbers until they enter the correct answer, then another alert pops up telling them that they got the question right.

Click to view code

Screen Shot 2015-12-28 at 4.08.33 PM

Screen Shot 2015-12-28 at 4.08.38 PM

Screen Shot 2015-12-28 at 4.08.47 PM

Screen Shot 2015-12-28 at 4.08.51 PM