Explore BrainMass
Share

Explore BrainMass

    JavaScript, rocket launch

    This content was COPIED 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 10, 2019, 7:30 am 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