Join our free community Discord server here!
Don't have a portfolio? Create one in our new workshop using React!
Learn React with us!
Get job-ready with our Career Toolbox Track's career advice, resume tips, and more 🧰
🤖 Check out all our AI content here 👀
Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
A function is a reusable block of code that’s given a name. Functions should accomplish one programming task, and do that task very well. They allow us to keep our code clean and DRY - dry meaning "Don’t Repeat Yourself".
Functions are notated by the keyword def, the name of the function, a set of parentheses, and then a colon. After...