Hi @HTML_Greg
You are declaring three variables using the const keyword, which each variable using the same name.
const, short for constant, is used to declare a variable just once. Declaring another const variable with the same name is a syntax error.
You also have a lot of buggy code.
You many want to consider learning some JavaScript basics first.
If you want to proceed however, I have a suggestion.
Add the following code to the top of the script.
alert(123);
A popup window will appear with the text 123
Then, move that code below the next block of code.
If the message does not appear, then the code above is not correctly syntaxed. Write simpler code until you debug the issues. That way, you can move onto the next section, with correctly formatted but maybe not functional code.
Happy coding.