
- JavaScript
- Beginner
About this Course
Callback functions are a foundational concept in JavaScript. Callbacks are used in timers, user interaction events, loading data from a server, and used in Node.js.
Whether you're a budding front end or back end developer, callbacks are everywhere!
What you'll learn
- Learn the syntax of using callbacks
- What anonymous functions are
- How to use anonymous functions as callbacks
- Use one-off and repeat times
- Use callbacks for user interaction
Introduction to Callback Functions
In this stage we'll look at what callback functions are, why you'd use them, and the types of callback functions you can use.
8 stepsCallbacks with Timers
In this stage we'll use callbacks with timers. There are two sets of timers: one-off timers and repeat timers.
6 stepsCallbacks and the DOM
In this stage we'll cover callbacks in the context of the Document Object Model. Here we'll take a look at some from input field events.
6 stepsTeacher
-
Andrew Chalkley
I'm an alien, I'm a legal alien, I'm an Englishman in Portland. All of my professional life I've worked with computers online. I'm a polyglot programmer and like using the right tools for the job. In my spare time I enjoy spending time with my family and when I get chance, sticking opponents in Halo 4.