HTML CSS JS & Human body analogy.
For beginners, it's hard to understand why we need HTML CSS and JS and much more to build applications or websites. With the help of using the human body analogy let's understand how the above stack works together.
HTML(Hyper Text Markup Language)
HTML is a markup language it refers to a text-encoding system consisting of a set of symbols inserted in a text document to control its structure. Confusing right let's make it easier.
HTML working is similar to that of the human skeleton like how the human skeleton gives the body perfect structure. So if there are no bones no skeleton there is no use of muscles and flesh right however beautiful a face is without structure there is no nose no cheeks nothing right? That's why we use HTML for giving the structure of an application to make it easier to control the display of the document.
CSS (Cascading style sheet)
CSS is similar to that of the colour of your skin the shape of your lips, nose and every other body part you can relate to the human body. Now, why do we need CSS because it helps to make our application look beautiful and makes it easier for users to interact with the application.
Js (Javascript)
Javascript is similar to the soul which performs certain functions activities and events. Well in applications or Websites javascript is what makes application alive or dynamic and help them to perform functions events and much more.
HTML - Structure (skeleton)
CSS - Style (colour and shape)
Js - Events (Soul to perform events)
Subscribe to my newsletter
Read articles from Prince Patel directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
Prince Patel
Prince Patel
A passionate and enthusiastic programmer, having an appetite to learn and explore new things.I have experience working as a Developer in a Startup environment. Also, I am well versed in javascript and have hands-on experience working on full-stack projects using (RESTful API).