Page 1 of 1
Lab 3-5: Using event handlers In this lab, you will use an event to call a function. 1. Editor: Open lab3-5.htm from you
Posted: Mon Jun 06, 2022 5:08 pm
by answerhappygod

- Lab 3 5 Using Event Handlers In This Lab You Will Use An Event To Call A Function 1 Editor Open Lab3 5 Htm From You 1 (17.86 KiB) Viewed 33 times

- Lab 3 5 Using Event Handlers In This Lab You Will Use An Event To Call A Function 1 Editor Open Lab3 5 Htm From You 2 (44.09 KiB) Viewed 33 times
Lab 3-5: Using event handlers In this lab, you will use an event to call a function. 1. Editor: Open lab3-5.htm from your student labs files. 2. Editor: In the <body> tag, add an alert() function that displays the current date and time on page load (use the Date() function). (The Date() function returns the current date and time if no arguments are provided with it.) 3. Browser: Open lab3-5.htm. The page must display an alert box with the current date and time.
lab3-5.htm 1 2 <html> 3 E<head> X k!DOCTYPE html> <meta charset="utf-8" /> <title>Lab 3-5</title> </head> <body> 10 <h3>CIW JavaScript Specialist</h3> <hr /> 11 12 </body> </html> THENRYCBLISH 13 14 15