Using only the techniques from modules one and two, and chapters one through four of the textbook:
Create two files, one named second.html and the other named second.js
to output a NASA style count down:
We have Liftoff!
Each line must be displayed as an alert
Create a generic function that outputs one line of the countdown as an alert, and receives the data to output as an input parameter.
Use that function to output each line of the countdown.
Each line, after the first line, must only be output when the user clicks “Ok” in response to the alert.
Use comments and lay the code out so it can be easily followed!
Test your program by opening the web page in your browser. You
should see the NASA countdown displayed as a series of alerts
(which are displayed one at a time in a popup window.) Click the OK
button to display the next line in the countdown.
No text is required to be written directly to the browser window.
Other samples, services and questions:
When you use PaperHelp, you save one valuable — TIME
You can spend it for more important things than paper writing.