3. Summary and References
Summary
HTML events are all the things that happen on a web browser or user interactions on the different elements of a web page. These events are detected by event handlers that could trigger a call to javascript functions in order for the web page to process them.
There are several event handlers and onclick and onload were discussed in this learning guide. onclick event handler detects users’ mouse click on an element while onload detects when an HTML object or web page gets loaded or refreshed.
References
JavaScript Events. (n.d.). Retrieved from W3Schools: https://www.w3schools.com/js/js_events.asp
Math.random(). (n.d.). Retrieved from MDN Web Docs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random
onload Event. (n.d.). Retrieved from W3Schools: https://www.w3schools.com/jsref/event_onload.asp
onclick Event. (n.d.). Retrieved from W3Schools: https://www.w3schools.com/jsref/event_onclick.asp