Skip to main content
00:00/00:00
Lecture 71 of 80

Siblings in the DOM

Download Course (Free)

Course Content

0 / 80 completed
Section 1: Traversing the DOM17 videos

Working with sibling methods

7m

Summary of traversing the DOM

6m

Section Introduction

4m

Traversing the DOM - Introduction

5m

Building our section page together

5m

The 3 most important objects in the DOM

3m

Parent, child and siblings - a quick introduction

5m

Why do we need to traverse the DOM

2m

firstChild, lastChild and children - intro

6m

Siblings in the DOM

5mNow Playing

Parent node

21m

Children property

10m

firstChild, lastChild and children - practical example

11m

Test - node types

3m

childNode vs children - what are the differences

48m

Siblings - a quick word

4m

Test - solution

4m
Section 2: Creating, Removing and Cloning DOM Elements19 videos

Section introduction

7m

Static vs Dynamic websites

3m

How do you create elements

3m

Document vs document

7m

Lets attach our element to the DOM

5m

Understanding the createElement() method

31m

Using the textContent property to add text to our newly created element

12m

How does appendChild work

8m

insertBefore() method

4m

Is there an insertAfter() method

10m

How to remove elements

3m

Lets trick the insertBefore() method

4m

removeChild()

3m

It's time to clone

11m

remove()

16m

Clone example using setInterval()

28m

Lets analyze our clone code

4m

Test your skills

2m

Test - solution

6m
Section 3: Where to next1 videos

Course Outro

31m
Section 4: DOM Introduction14 videos

Building our own simple page

5m

DOM - Section Introduction

4m

Everything is an object

4m

DOM hierarchy conclusion

25m

DOM hierarchy

53m

What is the BOM

4m

The DOM is not the same as your HTML

14m

DOM vs JavaScript vs Python

7m

The DOM is not what you see in the browser

4m

The DOM is not what you see in DevTools

3m

Pseudo Elements

13m

Summary What is the DOM

12m

What can we do with the DOM

1m

Quick example of changing the DOM

23m
Section 5: JavaScript vs DOM5 videos

What is the DOM API

4m

JavaScript lives in different environments

4m

Lets build a setTimeout() function

11m

The DOM was not solely for JavaScript

4m

setTimeout - JavaScript vs DOM

14m
Section 6: Accessing the DOM14 videos

Section introduction

15m

Accessing the DOM - Intro

28m

Understanding your HTML

13m

Lets build our page for this section

11m

getElementById()

3m

getElementById() Recap

13m

TEST Introduction

2m

TEST building our test code

12m

getElementsByClassName()

29m

SOLUTION

26m

getElementsByTagName()

43m

querySelector - Introduction

6m

querySelector - practical example

17m

Summary

22m
Section 7: Nodes10 videos

Nodes - Section Introduction

2m

Nodes - Introduction

2m

Nodes in action

6m

childNodes - How do we see nodes

4m

What are the different types of Nodes

6m

Creating different nodes

7m

Node - Family Tree

6m

HTMLCollection vs NodeList

6m

Identifying nodes

2m

Live vs Static lists

13m