Computer Basics 21: Chrome JavaScript Console and how Logging works

Subscribers:
10,700,000
Published on ● Video Link: https://www.youtube.com/watch?v=CdqT7_6v60E



Duration: 2:39
24,636 views
235


http://FreeCodeCamp.com is a community of busy people who learn to code, then practice by building projects for nonprofits. Learn Full-stack JavaScript, build a portfolio, and get great references with our open source community.

Follow us on twitter: https://twitter.com/intent/user?screen_name=freecodecamp

Follow us on Twitch: twitch.tv/freecodecamp

Like us on Facebook: https://www.facebook.com/freecodecamp

Follow Quincy on Quora: http://www.quora.com/Quincy-Larson

We discuss what (and where) the console is, why it's useful, and show a little of how it works.
The console: what it is, where you can find it, and what you use it for.
The console is very commonly used to display system adminstrative messages.
Your browser and your computer both have their own consoles.
Once you become famlliar with it, you will find it to be a very useful and powerful tool.
In Javascript, the console is used as a great tool for debugging and finding out where in your code there's a problem.
One of the most important terms you'll need to remember is \console.log()\.
The process of doing this can be put anywhere in the lines of code to help find, identify, and ultimately fix specific issues.
Using the Chrome browser and the Chrome console, if we type in \console.log(\Free Code Camp rocks!\);\ the console will literally display \Free Code Camp rocks!\.
This will also work with numbers and booleans, which are true/false statements.
When consoling words, it's important to put it inside of quotations so it recognizes it's a string.







Tags:
Free Code Camp
JavaScript
Pair Programming
Node.js
AngularJS
MongoDB
SQL
code
learn to code
hour of code
nonprofits
full stack
coding bootcamp
software engineer
open source
Google Chrome (Web Browser)
Software