In this video, Noer Paanakker (HackYourFuture's Education Director) will answer the question: what are functions? How do we use them in JavaScript?
TIMESTAMPS:
(1:04) PART 1: What is a function?
(1:41) Perspective #1: The black box
(3:02) Perspective #2: The tool
(6:50) PART 2: How to write a function?
(7:28) What a function consists of
(13:31) Naming convention
(22:12) Reuse others' functions
(25:35) PART 3: When to create a function
This is part of the JavaScript1 module, which you can find here: https://github.com/HackYourFuture/JavaScript1/blob/master/Week3/README.md.
To learn more about HackYourFuture, visit https://www.hackyourfuture.net.