freeCodeCamp/CurriculumExpansion

chore: add booleans and conditionals workshop to frontend cert(JS only)

Closed this issue · 0 comments

The frontend cert will have a module just for booleans and conditionals.
There will be lecture blocks going into more detail about booleans and if/else statements, and switch statements.
But we need a short(like 40 steps or less) workshop, for them to learn about this topic interactively.

Campers will know the following so far:

  • let
  • const
  • assignment
  • reassignment
  • basic string usage
  • console.log
  • camelCase
  • string concatenation using the + operator
  • template literals
  • str.length property
  • bracket notation and retrieving characters from strings
  • str.indexOf method
  • if/else
  • Number()
  • Math.floor
  • Math.random
  • getting a random number from a range
  • prompt()
  • ===

This project will talk about the following:

  • if/else if/else
  • true and false (truthy and falsey)
  • comparison operators

Acceptance criteria

  • create a new folder of the project in the frontend-cert/js-projects directory
  • add your completed project in an script.js file in that new folder