Example in Action: Modifying a Page Structure

When working with the DOM, you need to be able to create elements, and once you have created them, you should set whatever attributes you are trying to modify. Finally, you attach your element to the DOM.  We recommend that you follow the examples in this video using your favorite editor. 


Source: Bethany Petr, https://www.youtube.com/watch?v=nyJZkhE1X_c
Creative Commons License This work is licensed under a Creative Commons Attribution 3.0 License.

Last modified: Monday, August 21, 2023, 9:33 PM