## Codecademy Javascript Cheat Sheet Pdf

Code Academy makes learning Javascript and other programming languages easy and fun! You don't have to join the site in order to learn but it is a good idea to try out each exercise on your own before checking out the answers. By the time you complete all the exercises, you'll have a basic understanding of how javascript works and will be able to create your own with ease! I found the site extremely helpful and decided to create this answer key to help anyone interested in learning javascript. Enjoy!
Introduction Exercise 0 - Name
Introduction Exercise 1 - Character Length
Introduction Exercise 2 - Simple Math
Introduction Exercise 3 - More Simple Math
Introduction Exercise 4 - Reference Error
Section 1 Exercise 0 - Character Length Plus Simple Math
Section 1 Exercise 1 - Executing Javascript
Section 1 Exercise 2 - Interactive Javascript
Section 1 Exercise 3 - Inputs & Javascript
Section 1 Exercise 4 - Data Types 1 & 2: Numbers & Strings
Section 1 Exercise 5 - Data Type 3: Booleans
Section 2 Exercise 0 - Using Console Log
Section 2 Exercise 1 - Comparisons
Section 2 Exercise 2 - Conditional Statements
Section 2 Exercise 3 - Else Statements
Section 2 Exercise 4 - More Conditional Statements
Section 2 Exercise 5 - Java Syntax
Section 3 Exercise 0 - Mid-Lesson Review
Section 3 Exercise 1 - Math
Section 3 Exercise 2 - Math & The Modulo
Section 3 Exercise 3 - Modulo & 'if / else'
Section 3 Exercise 4 - Substrings
Section 3 Exercise 5 - More Substrings
Section 4 Exercise 0 - Variables
Section 4 Exercise 1 - More Variables
Section 4 Exercise 2 - Change Variable Values
Section 4 Exercise 3 - Conclusion Part 1 Review
Section 4 Exercise 4 - Conclusion Part 2 Final

## Codecademy Javascript Cheat Sheet 2020

In JavaScript, values evaluate to true or false when evaluated as Booleans. Values that evaluate to true are known as truthy; Values that evaluate to false are known as falsy; Falsy values include false, 0, empty strings, null undefined, and NaN. All other values are truthy. A JavaScript Promise is an object that can be used to get the outcome of an asynchronous operation when that result is not instantly available. Since JavaScript code runs in a non-blocking manner, promises become essential when we have to wait for some asynchronous operation without holding back the execution of the rest of the code.