Posted by: Pdfprep
Post Date: October 19, 2020
HOTSPOT
You are designing a web page that contains a blue button. When the button is pressed, it should call a function that displays the message ‘Welcome!’. When the cursor hovers over the button, the button should turn red. When the cursor leaves the button, the button should revert back to its original color of blue.
You want to complete the markup using the appropriate HTML events.
How should you complete the markup? To answer, select the appropriate event in the answer area.
NOTE: Each correct selection is worth one point.
Answer:
Explanation: https://www.w3schools.com/jsref/dom_obj_event.asp
Leave a Reply