Skip to content

macloo/practice-with-DOM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Practice with JavaScript methods and the DOM

This very small repo contains a simple HTML page with headings, paragraphs and images. Various id and class attributes have been inserted to facilitate practicing in the JavaScript Console in Chrome for beginners.

How to use the practice page

  1. Open the page in Chrome.

  2. Open the JavaScript Console.

  3. Experiment with JavaScript methods for getting information out of the DOM, as shown in the images below. These images also appear at the bottom of the page.

getElementsByTagName

getElementById

getElementsByClassName

getElementsByClassName

About

Practice page for JavaScript methods

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published