You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe why becoming a better learner is important.
Explain how to become a better learner using a three step process.
Identify a few personal strengths regarding this process.
Identify at least one personal weakness regarding this process.
Data Types and Variables
Objectives
Describe the 5 different primitive data types in JS.
Use PEMDAS (parentheses, exponents, multiplication etc) to evaluate expressions.
Use variables to store and re-store any and all primitive data types.
Manipulate and target strings using js methods and targeting syntaxes.
Use booleans and numbers to evaluate logical operators.
Combine logical operators to evaluate complex logical scenarios.
Describe type coercion and explain the difference between the == and the === operator.
Lesson framework
Describe why becoming a better learner is important.
CFU
Turn to your neighbor and describe why becoming a better leaner is important.
Be prepared to share your discussion with the class.
Explain how to become a better learner using a three step process.
CFU
Write down what the three steps to becoming a better learner with a short definitions.
Be prepared to share your answer with the class.
Identify a few personal strengths regarding this process.
CFU
Write down a few personal strengths regarding this process.
Think about how you can leverage this strength to help you succeed in this course.
Identify at least one personal weakness regarding this process.
CFU
Write down a few personal weakness regarding this process.
Think about how you can be aware of this weakness so that it does not delay your progress.
Describe the 5 different primitive data types in JS.
CFU
With your neighbor, write down what the five different primitive data types of Javascript along with an example.
Be prepared to share with the class.
Use PEMDAS (parentheses, exponents, multiplication etc) to evaluate expressions.
CFU
What are the results of the following equations:
4 + 5 * 6
(4 + 5) * 6
6^2 + (5 - 3) / 2
(3 * 4)^2 /2
Use variables to store and re-store any and all primitive data types.
CFU
Write 5 variables that store all five different primitive data types.
Be prepared to share your answer with the class
Manipulate and target strings using js methods and targeting syntaxes.
CFU
Create a new variable name greet, and store the concatenation of the following variables:
const str1 = 'Hello'
const srt2 = 'World'
------------------------------------------------------------------
What does the following statements print:
const g = 'Galvanize'
console.log(g[0])
console.log(g[1])
console.log(g[g.length - 1])
Use booleans and numbers to evaluate logical operators.
CFU
What do the following expressions evaluate to:
8 > 5
8 < 5
8 <= 8
8 == 8
8 == '8'
8 === '8'
true && true
true && false
true || false
8 < 5 && 10 > 9
Combine logical operators to evaluate complex logical scenarios.
CFU
Combine 2 comparison operations chaining them using && or ||.
Create 4 expressions, 2 that evaluate to true, and 2 that evaluate to false
Be prepared to share your answer with the class.
Describe type coercion and explain the difference between the == and the === operator.
CFU
With your neighbor, describe what type coersion is and show examples using the == and the === operator.
Be prepared to share with your answer with the class.