60 likes | 179 Views
This course provides robust preparation for the "Programming in HTML5 with JavaScript and CSS3" Exam 70-480. Participants will learn essential skills such as querying and manipulating the Document Object Model (DOM) and handling events effectively. Explore methods such as getElementById, getElementsByName, querySelector, and querySelectorAll for DOM querying. Master DOM manipulation techniques including adding, modifying, removing elements, and changing styles. Additionally, understand event handling using declarative and programmatic approaches, including addEventListener and removeEventListener.
E N D
DOM Interactions Sarah Dutkiewicz Cleveland Tech Consulting, LLC sarah@cletechconsulting.com
Course Overview • Helps prepare for “Programming in HTML5 with JavaScript and CSS3” Exam 70-480 • Demo code available at: Codeshow.codeplex.com
Session Topics • Querying the DOM • Manipulating the DOM • Responding to events
Querying the DOM • getElementbyid • Getelementsbyname • Queryselector • queryselectorall
Manipulating the DOM • Add • Modify • REMOVE • Change Style
Event Handling • Declarative • Onclick in the HTML tag, Handler in JS within scope • Programmatically • addEventListener • removeEventListener • Anonymous functions