Skip to content

tb-harris/manipualting-dom-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Project: Modifying the DOM

Modify script.js to enable the following functionality so that:

  • clicking on "Add paragraphs" shows p-div, hides img-div, and adds a new paragraph element to p-div containing text of your choice
  • clicking on "Add images" shows img-div, hides p-div, and adds a new image of your choice to img-div

Demo

Extra Credit: Edit index.html and script.js to add a "Do nothing" button and counters with the functionality shown in the video.

Extra Credit Demo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published