Week 2 · 7–9 hours
Logic, Functions & Problem Solving
Teach JavaScript to make decisions
Break problems apart, express decisions, package behavior, and repeat work safely.
Daily study plan
All lessons
Conditions & branching
25 min · Build a practical mental model for conditions & branching and use it in working JavaScript.
Truthy and falsy
30 min · Build a practical mental model for truthy and falsy and use it in working JavaScript.
Function declarations
35 min · Build a practical mental model for function declarations and use it in working JavaScript.
Expressions & arrow functions
25 min · Build a practical mental model for expressions & arrow functions and use it in working JavaScript.
Parameters & returns
30 min · Build a practical mental model for parameters & returns and use it in working JavaScript.
Scope & purity
35 min · Build a practical mental model for scope & purity and use it in working JavaScript.
Loops & iteration
25 min · Build a practical mental model for loops & iteration and use it in working JavaScript.
Problem-solving workflow
30 min · Build a practical mental model for problem-solving workflow and use it in working JavaScript.