Answered You can hire a professional tutor to get the answer.

QUESTION

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

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.Usethat function to output each line of the countdown, and an alert.Pleasenote that you are outputting the countdown to the browser window this time, notto an alert!The alert is only beingused to signal when to output the next line.ImportantNote: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. Theprogram should have fewer lines of code than assignment 2. Hint: use a loopwhen displaying the numeric part of the countdown. You can output the countdownnumbers as before or as digits (Ten or 10, Nine or 9, etc.) Use comments and lay the code out so it can beeasily followed!j+`

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question