When using the link, put it at the bottom of the body. This allows webpage to load before JS kicks in
Internal JS will be directly linked to the element. It is messy but good for a quick JS programing
When button is clicked it will disply alert box.
Sample Text with ID"text"