Making Stuff Happen
script tag. The
src attribute (external).
script element and finishing at the bottom (unless you tell it to go elsewhere).
<script> alert("Hello, world."); </script>
script element would look like this:
The last way is great for getting instant feedback, and it’s recommend if you just want to try a line out quickly.
Search the net if you can’t find your dev tools or console - they’re changing in browsers all the time.
To get started, the best way is the internal method. You can modify the contents of the
script element and refresh the page just like you’re used to - quick and easy.