Lecture on JavaScript Basics (Part-3)

This lecture briefly introduce on JavaScript (JS) Basics. A JavaScript statement is a command or instruction to a browser. The purpose of the command is to tell the browser what to do. Every element on a web page has certain events which can trigger a JavaScript event. For example, we can use the on Click event of a button element to indicate that a function will run when a user clicks on the button. We define the events in the HTML tags.