DOM Manipulation

Tutorials

  • Section 13, videos 121 – 129
  • Tutorial Notes
  • Exercise files to publish on your server, HTML/JS pairs
    • dom-intro.js (for samples of code presented)
    • selector-exercise.js

Problem Set

Blog Questions

  • Describe how the querySelector() and querySelectorAll() methods work. What kinds of values can be selected? Give four examples in a code insert using either method to select this element:
  • <p id="one" class=".main">This awesome paragraph!</p>

Leave a comment

Your email address will not be published. Required fields are marked *