This is an assignment from class. Here were the rules:
Annoy-omatic
Create your own index.html
Ask the user " Are we there yet"
Keep asking again and again until they enter "yes" OR "yeah"
Then, alert "Yay, we finally made it!"
github:
https://github.com/tuannguyenn/annoy-omatic
check it out here:
https://tuannguyenn.github.io/annoy-omatic/
When I started this assignment I had an idea of what I wanted, a popup box that asks "Are we there yet?"
I wasn't quite sure how to do that because all I knew was the alert() method. So Google I went searching for "javascript alert box with input".
That took me to this
JavaScript - Dialog Boxes tutorial and the rest was easy.