Use built in functions to do this such as getDay This function will return the

Use built in functions to do this such as getday this

This preview shows page 1 - 3 out of 3 pages.

Use built in functions to do this, such as getDay() This function will return the number corresponding to the day of the week it is. You will now need to use a switch statement to set and return the correct day of the week. Display this in the second paragraph you created. Every time you refresh the page, the seconds displayed on the date time paragraph should update.
Image of page 1

Subscribe to view the full document.

See the screen shot below of how it could look:
Image of page 2