JAVASCRIPT
01: ORIENTATION
Welcome to the Coding Power JavaScript class!
WHAT IS CODING POWER?
Coding Power is a community program aimed to empower youth through coding and providing resources to those who desire to code. We work with local schools and libraries to promote interest in computer science, especially among underrepresented groups.
WHAT IS JAVASCRIPT?
JavaScript is…
WEEKLY SCHEDULE
Week 1: Orientation
Week 2: Fundamentals
Week 3: Strings
Week 4: Flow
Week 5: Methods
Week 6: Arrays
Week 7: Objects
Week 8: Review
ICEBREAKERS
What is your name, grade, school, and favorite animal and why?
RECOMMENDED SUPPLIES
BASIC RULES
JAVASCRIPT SYNTAX
// Defining
var x;
let y = 0;
// Using
x = 5;
y = 6;
const z = x + y;
CONSOLE LOG
let x = 15;
console.log("Hello World!");
console.log("Coding " + "Power!");
console.log("I am " + x + " years old.");
WHAT ARE ESCAPE CHARACTERS
console.log("I’m \\ using \n\"escape characters\"");
USES OF ESCAPE CHARACTERS
let x = 15;
console.log("Hello World!");
console.log("Coding " + "Power!");
console.log("I am " + x + " years old.");
var x = 15;
console.log("Hello World!\n"+ "Coding " + "Power!\n" + "I am " + x + " years old.");
TRY IT YOURSELF
Go to onecompiler.com/javascript
let x = 15;
console.log("Hello World!");
console.log("Coding " + "Power!");
console.log("I am " + x + " years old.");
THANKS!
Any questions?
codingpower101@gmail.com
codingpower.org