Videos 🎥Courses 📚Podcast 🎙️Merch 👕Login 🏠
Last Updated: February 4, 2023

HTML . CSS . JavaScript

The three pillars of the web: HTML, CSS, and JavaScript

HTML, CSS and JavaScript are the three pillars of web development. They are all important but not exactly necessary (except for HTML) to build a web page.

The House Analogy

Think of it all as a house. HTML is the foundation of that house. It’s the house structure, the walls, the floors, ceiling and roof. Without it there wouldn't be a house. HTML is like a word document that describes the structure of your web page.

CSS is what you use to style web pages. It’s all the decor and furniture inside your house. The paint and the art on the wall, the rugs on the floor, everything you need in order to make your house look like a real house. You can still have a house without any furniture, the same way you can have a site without any CSS but it just won’t look complete.

And finally JavaScript. It’s what adds functionality to the web. It’s what turns the house into a livable place, it’s your appliances, electricity, heat water, WiFi and sound system. You can have a house without any of those things, but it just won’t be a very nice place to live in. So the same way you can have a house with nothing but four walls, you can have a website with just HTML but you really need CSS and JavaScript to make it a home. These three are what are used to build the front end of a website. Soon we will dive much deeper in all of them.