Product preview using HTML CSS flex

Solution retrospective
Please suggest an improvement or best practice on the css.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Zukizuk
Hello there, Congratulations on completing this project
Your solution looks nice
I have few suggestions that I think might be of interest to you.
I think you shouldn't have used a section here
<section class="image">
instead use div. Using a section requires you to provide a heading tag in the section. you can read more about that here heading element.I hope this feedback is helpful
Other than that great job
Marked as helpful - P@danielmrz-dev
Hello @kyusufm!
Your solution looks excelent!
I have just one suggestion:
📌 In order to make your HTML code more semantic, don't skip heading levels - start with
<h1>
, then use<h2>
, and so on. Unlike what most people think, it's not just about the size and weight of the text.-
The
<h1>
to<h6>
tags are used to define HTML headings. -
<h1>
defines the most important heading. -
<h6>
defines the least important heading. -
Only use one
<h1>
per page - this should represent the main heading/title for the whole page.
All these tag changes may have little or any visual impact but they make your HTML code more semantic and improve SEO optimization as well as the accessibility of your project.
I hope it helps!
Other than that, great job!
-
Join 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