Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed JavaScript Basics!
You have completed JavaScript Basics!
Preview
Learn how to identify and fix a problem in a program using the JavaScript console. This error-fixing skill will help assist you as you pick up the syntax of the language.
Chrome Console Keyboard Shortcuts
- Windows: Ctrl + Shift + J
- Mac: Cmd + Option + J
Firefox Console Keyboard Shortcuts
- Windows: Ctrl + Shift + K
- Mac: Cmd + Option + K
Internet Explorer Console Keyboard Shortcuts
- F12 key
Safari Console Keyboard Shortcuts
- Cmd + Option + C
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
you'll find out really fast that
it's easy to make a mistake.
0:00
Like most developers,
you'll probably make lots of mistakes.
0:01
You'll find that most of the mistakes
you'll make in the beginning will be
0:04
simple typing errors,
like leaving off a quote mark or
0:07
mistyping a command like alert.
0:09
These types of errors are common,
but they're often hard to spot and
0:11
could prevent your entire
program from running.
0:14
Finding and fixing problems
is a big part of programming.
0:17
Fortunately, browsers provide tools
that help you find mistakes so
0:21
you can fix your programs.
0:24
The most important is the JavaScript
console which, besides printing useful
0:26
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up