Manipulating the DOM Through the Console with JavaScript

Creating and Appending an Element

While creating a web page or application you will surely, at one point, ned to restructure the way it looks or feels by manipulating the DOM, Document Object Model. (To learn about what the DOM is, https://css-tricks.com/dom/) We can do this by creating and appending elements to the DOM in our window, using JavaScript.

Creating and appending an element is just one way to change the DOM and be able to dynamically change your application. To dynamically…