Column preview card component Challenge responsive - HTML & CSS
Design comparison
Solution retrospective
Hey everyone,
This is my solution for this challenge. I found it very easy, but tell me if I could improve my code :)
Thanks for checking my work.
Community feedback
- @hmadamkPosted about 2 years ago
your solution looks great, but for the accissibility issue you could fix it easily by instead of wrapping your content in a div.container you can wrap it inside of a main or a main.container. what this does is that it allows screen readers and other useful tools to help people with disabilities to be able to reach your content more effectively and it's also more semantic if you think about it, for peoples how read or debug your code since class="container" does not mean anything but the tag main undicate that this section is the main content of the page so it's easy to reason about
0
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