Example Setup
<body> <h1>Hello World</h1> </body>
Adding the JavaScript
</head>
<body>
<!-- All of our HTML code will go here -->
<h1>Hello World</h1>
<script type="text/javascript">
/* All of our JavaScript code will go here */
var x = 10;
console.log(x);
</script>
</body>
</html>Test
Last updated