@correlucas
Posted
πΎHello NOUTCHEU LIBERT, congratulations for your solution!
I don't know the secret to be the master of the CSS, but I've one tip for you: write the minimum of code you can.
For example in this challenge, you can build this component using only one block element to hold all the content, the <main>
or a <div>
. See the minimal structure for html below:
<body>
<main>
<img>
<h1></h1>
<p></p>
</main>
</body>
About the CSS, you can have a really really clean code, writing only necessary elements, for example, you don't need classes here, you can manage everything just using these selectors
div
- main
- img
- h1
- p
Hope it helps and happy coding!
Marked as helpful