Skip to content

KaladaJumbo/DOM_PAIRING_LAB

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Task

- Practice selecting and manipulating DOM elements
- Practice creating and appending DOM elements

Deliverables

  • A function that selects the title and changes the text
  • A function that selects the title and changes styling
  • A function that adds an item to the "favorite things" list
  • A function that selects and console.logs each list item
  • A function that loops through each list item and changes its text and style

Strech Deliverable

  • Write a function that creates a button, that when clicked, will change the background color. (click event)
  • Make a branch and "pull request" for your code.

Example

https://share.getcloudapp.com/d5upe6pJ

Things to keep in mind

  • Use the lecture code as a reference!
  • The stylesheet is boostrap, so if you have trouble with changing style, look there.
  • Experiment with selectors, and different ways to manipulate nodes!
  • Figure out different ways to do the same thing / why you would use one method over another.
  • Even if one person is "driving", you should still code along!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 98.8%
  • JavaScript 1.2%