Explore BrainMass

JavaScript, rocket launch

-Create two files, one named second.html and the other named second.js
-Write code to create a web page that uses a JavaScript program to output a NASA -style count down: Ten ,Nine ...,One ,Ignition Start , Liftoff , 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.


Solution Summary

A program to simulate a rocket launch written in JavaScript.