Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 865 Bytes

File metadata and controls

16 lines (13 loc) · 865 Bytes
title Appendix A – Common Errors
layout page

General Tips

  • Use the line number provided with the error to find where in your code the error is occuring.
  • The error may not be on the line that reports the error. Check the line directly above for errors, and check other lines that use variables being referenced by the code on these two lines.
SyntaxError: Unexpected identifier.
  • Check that your strings are closed correctly with matching quotes, and no quote marks are breaking the string half-way through.
  • Escape quote marks that are intended to appear within the string using \ backslashes: 'Don\'t forget!'