Functions are reusable recipes. Logic (if/else, loops) lets your code make decisions.
What you'll learn
Write and call functions
Use if/else conditions
Repeat with loops
Week 2 step intro
A peek inside
Functions
A function takes inputs parameters, does work, and often `return`s a result. Arrow functions `const f = => {}` are the modern shorthand you'll see everywhere.
Function: A reusable block of code you can call by name.
The rest of Day 9 is a Pro lesson
You're on the free Explorer plan โ you get the intro and the video. Go Pro to open the full guided lesson (and all 30 days).