Getting Started
-
Helpful links
- The Modern JavaScript Tutorial - VERY HELPFUL
-
Getting Started
- The simplest way to get started is to simply create an HTML file with the JavaScript code inside of it.
<body> <script> // Your JavaScript goes here! console.log("Hello, World!") </script> </body> - Another way to include JavaScript in a webpage is through an external script.
<script src="javascript.js"></script> - JavaScript files have the extension
.js. console.log()is the command to print something to the developer console in your browser.
- The simplest way to get started is to simply create an HTML file with the JavaScript code inside of it.