Explore BrainMass
Share

JavaScript, rocket launch

This content was STOLEN from BrainMass.com - View the original, and get the already-completed solution here!

-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.

© BrainMass Inc. brainmass.com October 17, 2018, 12:37 pm ad1c9bdddf
https://brainmass.com/computer-science/javascript/javascript-rocket-launch-584218

Attachments

Solution Summary

A program to simulate a rocket launch written in JavaScript.

$2.19
Similar Posting

Writing a Program for a Rocket Launch Sequence

Create two files, one named first.html and the other named first.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!
The lines will display all at once for this assignment.
Use comments and lay the code out so it can be easily followed.

View Full Posting Details