Source: MDN, What went wrong? Troubleshooting JavaScript
A syntax error is where there is a typo that causes your code not to run all the way. These are usually easy to fix.
A logic error means that the code ran, but not in the way that you expected. There are usually harder to fix.
The function was actually named something else.
Missing a close parens
I was using the document.getElementById incorrectly
It’s good to know terminology for types of errors to communicate what’s going on with others. The MDN reference is also good for figuring out the solutions to the errors listed.
Source: MDN, What are browser developer tools?
The debugger tool lets you pause running the code to walk through it line by line. I would describe it like proofreading a confusing page in a novel by reading through it line by line to figure out which part is confusing to the reader.
A breakpoint is the spot where you want to pause the code running to check out what is happening.
The call stack is the list of functions that are running, in order of when they started. The global stack frame is at the bottom, with the next oldest on top until you get to the function that is currently being executed.
How to use the developer tools that are installed in Chrome. Also, what tools are in other browsers, and which are more convenient to use.