magfurulabeer / ga-javascript-dom-manipulation-lab

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Title Type Duration Author
DOM Manipulation Lab 2:00 Rachel Moskowitz (adapted from SEI NYC)

DOM Manipulation Lab

Learning Objectives

At the end of this lesson, students will be able to:

  • Manipulate the DOM.

Introduction

Can you really manipulate the DOM, though?

Dom Toretto

Didn't think so. Thankfully, we're not talking about that Dom.

Today, we'll be practicing DOM manipulation and event handling.

Set Up

You've been provided with a basic website, including the index.html, style.css, and script.js files. All of your work will go in the script.js file — you shouldn't have to edit index.html or style.css.

There are empty functions for each part. Don't forget to call the function to test its utility.

Completion

Finish filling out all of the functions set up in script.js.

Resources

This vanilla JavaScript quick reference and cheat sheet has a helpful section on DOM querying and creation.

About


Languages

Language:JavaScript 50.7%Language:HTML 33.9%Language:CSS 15.4%