


Making decisions in your code - Conditionals.Basic math in JavaScript - Numbers and operators.Storing the information you need - Variables.What went wrong? Troubleshooting JavaScript.JavaScript - Dynamic client-side scripting.Assessment: Typesetting a community school homepage.HTML Table advanced features and accessibility.From object to iframe - other embedding technologies.Assessment: Structuring a page of content.If we look at line 86 in our code editor, we'll find this line:.In this case, we've got line 86, character number 3. The line number where the error is, and the character number in that line where the error is first seen.If you follow this link, you'll see the exact line where the error is highlighted. The name of the JavaScript file, which links through to the Debugger tab of the developer tools.A "Learn More" link that links through to an MDN page that explains what this error means in greater detail.An error message to indicate what's gone wrong: "TypeError: guessSubmit.addeventListener is not a function".A red "x" to indicate that this is an error.This is a pretty easy error to track down, and the browser gives you several useful bits of information to help you out (the screenshot above is from Firefox, but other browsers provide similar information).You should see an error message along the following lines: Go to the tab that you've got number-game-errors.html open in, and open your JavaScript console.What's even more useful is that the console gives you error messages whenever a syntax error exists inside the JavaScript being fed into the browser's JavaScript engine.

Earlier on in the course we got you to type some simple JavaScript commands into the developer tools JavaScript console (if you can't remember how to open this in your browser, follow the previous link to find out how).
