CSS
As a beginner, CSS will break you. Always use a CSS library like Bootstrap, bulma, tailwind, etc.
You can google best css libraries
I will personally recommend Bootstrap.
Regardless of the choice you make, they have very good documentation that are also visual. Read through them (especially the components section) to get an idea what’s inside.
Normally, you can copy these examples from the docs into your code and edit them to see what they look like. But as a beginner who wants to understand , I’ll advise against it.
Code
You can start coding now. With all that you’ve gathered, you’ll go through this process with ease.
Here are some tips though:
Always use .container
for the top level layout.
This will constraint your site to a maximum with regardless of device so you have minimal space to work in. Doing this will save you lots of hassle when it comes to responsiveness.