Design comparison
Solution retrospective
Any feedback is appreciated!
Community feedback
- @correlucasPosted about 2 years ago
πΎHello Ash, congratulations for your new solution!
Your solution is amazing, and fully responsive. There's not much to improve here. But if you want to do it you can clean the html code and the css.
To clean that, remove all unnecessary divs, all you need is a single
<main>
or<div>
to keep all the content inside, and nothing more. The ideal structure is thediv
and only the image, heading and paragraph.To clean the css remove all classes and manage the properties using the direct selector for each element (main, h1, img and p)
THE IDEAL STRUCTURE FOR HTML
<body> <main> <img> <h1></h1> <p></p> </main> </body>
π I hope this helps you and happy coding!
Marked as helpful0
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