Design comparison
SolutionDesign
Community feedback
- @barka-devPosted 4 months ago
I recommend using semantic HTML elements instead of just <div> tag to build the component. that will improve your site accessibility and it will help you also to apply all your CSS styling without the need to use class attributes, which will make your code much cleaner example:
<main> <section> <img /> <article> <header> <h1></h1> </header> <p></p> </article> </section> </main>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