Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Well done!

You have completed (UPI) Chapter 11: Managing Errors, Debugging, and Handling Events in JavaScript!

Instruction

ReferenceError: "x" is not defined

The JavaScript exception "variable is not defined" occurs when there is a non-existent variable referenced somewhere. Message: ReferenceError: "x" is not defined (V8-based & Firefox) ReferenceError: Can't find variable: x (Safari) Error type: ReferenceError What went wrong? There is a non-existent variable referenced somewhere. This variable needs to be declared, or you need to m...