An alert must be used to control when the next line is


Each line must be displayed in the browser window.

An alert must be used to control when the next line is displayed. 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.)

 

Solution Preview :

Prepared by a verified Expert
Business Management: An alert must be used to control when the next line is
Reference No:- TGS02701548

Now Priced at $20 (50% Discount)

Recommended (96%)

Rated (4.8/5)