DOM Crash Course for Beginners -1

Image for post
Image for post
Photo by Irvan Smith on Unsplash

After learning JavaScript in the previous series, we will learn about DOM(Document Object Model). It is been used to interact with every element of the HTML and can be used to even generate HTML on the fly.

Let’s create a new folder DOMbasics and three files index.html, styles.css and main.js inside it.

Image for post
Image for post
DOMbasics

You can read the rest of the post from my site. Link for the same is below.

This completes part-1 of the series. You can find code for the same here.

Written by

UI Lead- ReactJS, JavaScript and everything in-between.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store