Responsive Product Preview Card Component (HTML-CSS)
Design comparison
Solution retrospective
Hi everyone,
I've finished this Frontend Mentor challenge using HTML and CSS.
What challenges did you encounter, and how did you overcome them?I tried to make it accessible and responsive.
What specific areas of your project would you like help with?Do you have any suggestions for improvements or optimizations?
Thanks!
Community feedback
- @hassanmoaaPosted 9 months ago
Hello !
Great Job solving the challenge mate congrats š
Use
<main>
to wrap the main content instead of<div>
. * š Tags like <div> and <span> are typical examples of non-semantic HTML elements. They serve only as content holders but give no indication as to what type of content they contain or what role that content plays on the page. This tag change does not impact your project visually and makes your HTML code more semantic, improving SEO optimization as well as the accessibility of your project.āāāāāāā
Heading is defined with
<h1> headings should be used for main headings, followed by <h2> headings, then <h3>, and so on up to <h6><h1>
to<h6>
tags. It is important to use headings to show the HTML document structure.Other than that you're good, keep up the good work!
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