Confusion between html and css learning



This content originally appeared on DEV Community and was authored by Ravi Arora

the first problem I am facing is this: why do I need to master HTML first, then CSS? For example, I make a heading and then apply changes to it daily, like changing the background color or text color. I have to switch for every tag rather than doing it one time between languages.

Why is it like this? Why do I have to learn the whole structure in general (HTML) and then its styling (CSS) for making a website or a project?

It is clear that I have to make a heading or paragraph first, then I will style it. But for general learning, there are many courses that say “Learn full or advanced HTML” and then CSS. This thing confuses me daily while learning.


This content originally appeared on DEV Community and was authored by Ravi Arora