Selecting & Changing Website Elements (DOM manipulation) - Beau teaches JavaScript

Опубликовано: 20 September 2026
на канале: freeCodeCamp.org
143,550
1.9k

JavaScript allows you to select elements from the DOM of a website and then make changes to those elements.

This video covers getElementById, getElementsByClassName, getElementsByTagName, QuerySelector, querySelectorAll, innerHTML, and textContent.

💻 Code: https://codepen.io/beaucarnes/pen/vmO...

🔗 Resource: https://web.archive.org/web/201710102...

🐦 Beau Carnes on Twitter:   / carnesbeau  

⭐JavaScript Tutorials Playlists⭐
▶JavaScript Basics:    • JavaScript Basics Course  
▶Data Structures and Algorithms:    • Data Structures and Algorithms - Beau teac...  
▶Design Patterns:    • Design Patterns - Beau teaches JavaScript  
▶ES6:    • ES6 - Beau teaches JavaScript  
▶Clean Code:    • Clean Code - Beau teaches JavaScript  

-
We're busy people who learn to code, then practice by building projects for nonprofits. Learn Full-stack JavaScript, build a portfolio, and get great references with our open source community.

Join our community at https://freecodecamp.com
Read great tech articles at https://medium.freecodecamp.com

❤️ Support for this channel comes from our friends at Scrimba – the coding platform that's reinvented interactive learning: https://scrimba.com/freecodecamp