Main Page

Comparing Inline, Internal, and External JavaScript

The first button triggers a pop up window using inline javascript placed in the opening button tag:


Click here to go to the Inline Page

The second button is created using internal JavaScript placed within the script tag


Click here to go to the Internal Page

The third button triggers a popup using external JavaScript placed in the script.js file:


Click here to go to the External Page