Day 2

  • Take Home Review
  • Git Review
  • Data Types
  • Daily Challenge
  • Variables
  • Operators
  • Take Home Challenge
  • Merge your take-home branch into master
  • Make sure your master branch is up-to-date locally and in Github
  • Questions?
  • Primitive Data Types
    • Strings
      • Always wrapped in single quotes or double quotes
      • .length property
      • Concatenation
      • Interpolation
    • Numbers
      • Used for integers and decimal values
      • Infinity
      • NaN
    • Boolean
      • True
      • False
    • Undefined
      • No value assigned
    • BigInt
      • Used for integers of longer length than the number data type
      • Created by adding an "n" to the end of an integer
    • Symbol
      • Creates anonymous and unique values
    • typeof
  • In your js-practice repository:
    1. Create a new branch named "day-2"
    2. Using the .length property, console log the number of letters in “Supercalifragilisticexpialidocious”
    3. Console log any number
    4. Console log a BigInt
    5. Hint: Use typeof to confirm your number and BigInt values
    6. git add, commit, and push to your day-2 branch
  • Questions?
  • Assignment
    • = assignment
    • += addition assignment
    • -= subtraction assignment
    • *= multiplication assignment
    • /= division assignment
  • Arithmetic
    • + addition
    • - subtraction
    • * multiplication
    • / division
    • % modulo
  1. Directions for the take home can be found in this Codepen: Mad Libs Challenge*
    • *If you want to save your work, you will need to create a free codepen account