DEV Community

Christian
Christian

Posted on

HTML, CSS, JavaScript: What's the Difference?

The easiest way I found to understand the difference between them is:

HTML (Skeleton) - This sets the layout for what you want your website to have, like letters, images, buttons, etc.

Your layout for your brain and skin is based on your skeleton.

CSS (Skin) - This allows you to customize the HTML, like font, color, size, etc.

How your skin looks like is based on your skeleton.

JavaScript (Brain) - This allows you to add functionality to your HTML, like making buttons do certain things, user interactivity with the website.

Essentially, how your brain allows you to move your body how you want.

Image description

Top comments (0)