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

Our first event

All the functions we worked with so far were functions that we triggered. If the Internet was linear that would do, but a computer application has a lot of events that are not linear and we don't know when they'll happened. For example, when a user clicks on something or when the page loads. In this lecture, we're going to take our first peek at a different type of function which is called a callback or an event. The first event we are going to look at is the onload event which triggers whenever the page is loaded.

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