Check out a free preview of the full JavaScript: From Fundamentals to Functional JS course:
The "Callbacks Exercise" Lesson is part of the full, JavaScript: From Fundamentals to Functional JS course featured in this preview video. Here's what you'd learn in this lesson:

In this exercise, you will create a few different callback functions.

Get Unlimited Access Now

Transcript from the "Callbacks Exercise" Lesson

[00:00:00]
>> [MUSIC]

[00:00:03]
>> Bianca Gandolfo: So I have just a short exercise for this. I'm gonna go back to the functionalJS repo and it's in the callback section. So we have this callback. Only a few, but we also have one last thing for the module pattern in closures, that number seven, the toaster one.

[00:00:27] You want to design your toaster. You can get started with that. So what we're doing is in the closures we're doing number seven which is the toaster. And then for call backs we're going to do all of them, one through three, and then there's also extra credit if you finish early that combines call backs with closures.

[00:00:55] It's pretty interesting.