The frontend cert will have a module just for functions.
There will be a lecture block going into more detail about how to work with functions and arrow functions works with examples.
But we need a short(like 40 steps or less) workshop, for them to learn about loops interactively.
A good project for this would be a simple calculator app where campers will create functions for addition, subtraction, multiplication, and division.
This will be complete list of concepts campers will know about so far before this workshop:
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
Number()
Math.floor
Math.random
getting a random number from a range
prompt()
===
if/else if/else
true and false (truthy and falsey)
comparison operators(< >=)
logical operators (|| &&)
array basics
push
pop
shift
unshift
basic object usage
for loop
for of loop
do/while loop
while loop
forEach loop
Acceptance criteria
[x] create a new folder of the project in the frontend-cert/js-projects directory
[x] add your completed project in an script.js file in that new folder
The frontend cert will have a module just for functions. There will be a lecture block going into more detail about how to work with functions and arrow functions works with examples. But we need a short(like 40 steps or less) workshop, for them to learn about loops interactively.
A good project for this would be a simple calculator app where campers will create functions for addition, subtraction, multiplication, and division.
This will be complete list of concepts campers will know about so far before this workshop:
Acceptance criteria
frontend-cert/js-projects
directoryscript.js
file in that new folder