Inline JavaScript
JavaScript written directly inside <script> tags is called inline JavaScript. It is parsed and run immediately when encountered.
Inline scripts are fine for small snippets but should be moved to external files as the codebase grows.