Write code to create a web page that uses a JavaScript program to output a NASA style count down: Ten – Nine – Eight …. One – Ignition – Start – Liftoff – We have Liftoff!

Project 1:
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 – Eight ….  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!

 

Project 2:

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 – Eight ….  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.

 

Project 3:

Create two files, one named third.html and the other named third.js
Write code to create a web page that uses a JavaScript program to output a NASA style count down: Ten – Nine – Eight ….  One – Ignition – Start – Liftoff – We have Liftoff!

Each line must be displayed in the browser window.
An alert must be used to control when the next line is displayed.
Create a generic function that outputs one line of the countdown on the web page, followed by an alert, and receives the data to output as an input parameter.
Use that function to output each line of the countdown, and an alert.
Please note that you are outputting the countdown to the browser window this time, not to an alert!  The alert is only being used to signal when to output the next line.
Important Note: Depending on which browser you are using to view your web page, the alert messages may or may not be displayed alternately with each line output to the web page. Some browsers (Internet Explorer) display all the alerts first and then display the countdown on the page.
The program should have fewer lines of code than assignment 2. Hint: use a loop when displaying the numeric part of the countdown. You can output the countdown numbers as before or as digits (Ten or 10, Nine or 9, etc.).

Use comments and lay the code out so it can be easily followed!

 

Project 4:
Create a very simple four function integer calculator with buttons for Add, Subtract, Multiply, and Divide,
and with two text-type input fields.  When the user enters two numbers and clicks one of the buttons, the answer is displayed where shown.
Your program must use an alert to tell the user about any errors.
The possible errors include:
One or both input fields are blank
One or both input fields < -9999 or greater than 9999
Divide by zero
Illegal character in either input field.
Only 0, 1 ,2 ,3 ,4 ,5 ,6 ,7 ,8 ,9, and – are allowed.
You must include instructions to the instructor on how to install the assignment.
Do this in a separate file named ReadMe.txt.
Even though there are none in the example, you must include instructions to the user.