Tutor profile: Jon W.
What is one method that can be used to capture and manipulate a DOM node?
An example would be the document.querySelector method. You can use CSS selectors to find a node with a specific id or class. Then this can be stored in a variable then methods can be used on the selected variable to change values or properties.
Subject: HTML Programming
How is the DOM different than writing an HTML elements in a text file?
The DOM (Document Object Model) is a tree like representation of elements that the browser creates when given an HTML file. The DOM lives temporarily in the browser while the document or web page is open. HTML elements written in a file is like a set of instructions for the browser to create the DOM.
What is the CSS box model?
The CSS box model is referring to the box that wraps around every HTML element. It is used to describe the layout of HTML elements and how they interact with each other in the browser. The box model consists content, padding, border, and margin.
needs and Jon will reply soon.