Planning the structure of the project and how we want to solve most cases should be done when we start the project.

One of the issues that we need to solve in the front-end project is “how to add styling”.

There are a few possibilities of adding styles to make our layout looking well.

Of course, there are many more of them when we use 3rd party packages or some frameworks, but when we use pure HTML and CSS, there is a bit less.

We can write styles directly in the HTML file in the “style” tag, we can do inline styles, write some js script that adds styling to our elements, or use external CSS files.

An external CSS file is just the “.css” extension file, that we write CSS code inside, next, we can import that file into the front-end template, where we need to use that code.

--

--