Design comparison
Community feedback
- @RioCantrePosted almost 3 years ago
Hello there! Awesome work with this one. Viewing at your solution, I would suggest the following for you...
- Wrap the whole content
card-component card
with specific tag likemain
for readability - Remove the commented/unused code to keep it clean
Overall you did well and Keep up the good work!
Marked as helpful1 - Wrap the whole content
- @correlucasPosted about 2 years ago
πΎHello Nico, congratulations for your new solution!
Your solution is really good done and everything is fine, my advice for your is about cleaning your code, note that you've used a lots of divs to build this component and in reality you don't need more that the
<main>
to hold all the content (img, h1 and p). This is the cleanest code for the html structure:<body> <main> <img> <h1></h1> <p></p> </main> </body>
To clean the css you can remove all class and select everyt element with the direct selector (img, h1, p, main and etc)
π I hope this helps you and happy coding!
1
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord