"use strict"
var identifier [ = value]
let identifier [ = value]
const identifier = value;
console.log()
script tags in html.
<script>
let x = 7
console.log(x)
</script>
script tags.
src= attribute.
</script>)
<head>
<script src="myfile.js"> </script>
<script src="https://mirkwood.cs.edinboro.edu/~bennett/myScript.js"> </script>
defer attribute, parsing and execution will only occur after the document is parsed.
document.getElementById(string)
id="unique-id" is an attribute of an element in the document.
let myDiv = document.getElementById("theDiv")
console.dir(myDiv)