a second file, called main.js
No need for <scripttttttt> tags because it's in the js file, so just put
To view this in the browser, you want Console (tab) in Developer Tools for whatever browser
and it works
The DOM is the user interface (selecting elements), as separate from the Console where actions are performed.
const = can't be changed (you can change the values of arrays variables etc though), and you have to put a value.
let = like an initial position