It looks like you're new here. If you want to get involved, click one of these buttons!
How would you code this to make it where you type in the answer to a text box and click a button to submit it?
<p>var age=prompt('Enter your age.');</p>
alert('You\'re too young. Please leave now.');
else if (age>21)
alert('Wow you\'re way to old to come in the club!');
alert('Welcome to our exclusive club.');