Design comparison
Solution retrospective
This site is made only in HTML, CSS.
Community feedback
- @correlucasPosted over 2 years ago
πΎHello islombek, congratulations for your new solution!
Your solution is just great and there's nothing much to improve here. But if you want to an exercise, you can clean your code and make it even better. For example, you can build this with a simple approach, without using 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.See the structure below:
<body><main><img><h1></h1><p></p></main></body>
π I hope this helps you and happy coding!
Marked as helpful0 - @luisgcodePosted over 2 years ago
Good Job!!!
If you want to fix the Accessibility Issues you have, try adding a role to the main container. Example <div role="main" class="YourClassHere">
good luck!
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