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

Real functions phone home

All the functions we worked with so far weren't really functions - they were procedures. To be called a function, technically you must return a value to whoever called you. In this lecture we're going to look at how do we create procedures that return things(aka functions). Moreover, we're going to take a look at a really complicated function that does a recursive action. By the end of this lecture we're going to have a dynamic animation that will change randomly.

Ready to Level Up Your Skills?

Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!

Enroll Now for Free!

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