Run_in_browser

Running JavaScript in the browser

In the HMTL code for the page; include a script tag, like this, pointing to the path of the JavaScript file:

<script src = "my_javascript_code.js"></script>

Note: Inline JavaScript is allowed within script tags.

Save the HTML page and open it in the browser.