Do Stuff with the DOM

<p>For beginners learning JavaScript, I want to explain the HTML DOM. Coding can be thought of as just &lsquo;stuff&rsquo; doing &lsquo;stuff&rsquo; to other &lsquo;stuff&rsquo;. Of course, what that &lsquo;stuff&rsquo; is is the fun part. When developing something, we must interface with something. My first development project was interfacing not with the DOM but with a web page that configures a series of choices that eventually outputs a string. This string would drive a Bill of Materials for the production floor to create or service product. On the other hand, a developer who programs in the C language may be interfacing with firmware in which the code receives sensor inputs, does stuff with it, and then outputs it to a display. For web developers, the input can be thought of as the elements within the DOM along with the user&rsquo;s actions, while the output is the rendered web page. We will have to learn how to be comfortable with manipulating the DOM because that is what JavaScript often does.</p> <p><a href="https://medium.com/@jon.cavalcant/do-stuff-with-the-dom-8d0406235866"><strong>Read More</strong></a></p>
Tags: DOM