02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School

Animating with Functions

Beyond the really amazing slide show we're about to create. This chapter is all about functions. You're going to see so many functions that you might get sick or excited of them.

Duration: 01:10:04

Created with

Ben Fhala

Ben Fhala

Ben Fhala is the creative force and founder behind 02geek, a pioneering platform dedicated to making web development accessible to everyone. With over 18 years of experience in the industry, Ben has a deep passion for teaching and a knack for breaking down complex concepts into easy-to-understand lessons.

Animating with Functions Overview

What you'll learn

We're about to start chapter 3 of Learning to animate with JavaScript. The thread the combines this chapter together is functions. We're going to see many types of functions functions and don't return anything(procedures), function that return things, message and even brush up with events.

Beyond the really amazing slide show we're about to create. This chapter is all about functions. You're going to see so many functions that you might get sick or excited of them. In a nutshell this chapter is all about functions.

Functions Functions and some Functions

A Boolean variable can contain only one of two values[true, False]. It's main use is to create a flag in the road.

00:36

Understanding functions and parameters

dive deeper into functions and really understand how they function. The first step is to understand the difference between variables and functions.

08:32

Leveraging CSS selectors in JavaScript

learn how to use CSS selectors in JavaScript.

06:34

Creating our own functions

learn how to create JavaScript functions

09:18

Functions Galore

From this lecture on words for the remainder of the chapter we will be pushing our functions to their limit as we create awesome animations.

08:28

Creating a Slide Show

continue exploring the world of functions as we complete creating our slide show. In the process were going to create our first function parameter. This is going to be fun.

13:47

Setting default parameter values

Sending default values to functions in JavaScript.

09:28

Real functions phone home

Functions that return of value are called functions well functions that don't are called procedures.

10:33

Our first event

Events are functions that trigger that we didn't initiate but the user or the system did

02:46
Download Source Files