@correlucas
Posted
๐พHello Zuzki, congratulations for your new solution!
Is just amazing that you've used vanilla CSS to create this, this will helps you to learn a lots of things that you'll probably miss if you were using frameworks.
I saw your code and is working fine, but you can have it even lean, if you delete some unnecessary divs. Not that you can manage everything using the main
thats holding all the content img, h1 and p
.
See the a clean html structure for this challenge below:
<body>
<main>
<img>
<h1></h1>
<p></p>
</main>
</body>
Doing that you've less child elements and more control over everything.
๐ I hope this helps you and happy coding!