1. Write text with Java Script 2. Format with HTML tag 3. JavaScript in the head section
This example declares a variable, assigns a value to it, and then displays the variable.
Then the variable is displayed one more time, only this time as a heading.
7. FunctionBy pressing the button, a function will be called. the function will alert a message.