Design comparison
Solution retrospective
If there's something i can fix or did wrong, please tell me. Thanks
Community feedback
- @vanzasetiaPosted about 2 years ago
Hello, Joseph Haddad! 👋
Congratulations on finishing this challenge! 👏
Here are some recommendations for improvements.
- Headings must be in a logical order. Users of assistive technology can use heading tags to navigate the website. If headings are not in a logical order, those users might get confused. In this case, you can start from
h2
. - For your information, heading tags have meaning. It's not about the styling. So, never use heading tags to make text bold or large. Use CSS instead.
- The "Cancel Order" should be wrapped by either
button
ora
tag. It is not heading for sure. - The $59.99/year should not be heading too.
That's it! I hope this helps! 🙂
Marked as helpful1@vanzasetiaPosted about 2 years ago@joehaddad1000
I looked at the updated solution and I'd like to suggest a couple of things.
- I am just notice
<main role="main">
. Remove therole
attribute. If you have used semantic HTML then there's no need to addrole
attribute. Keep in mind that ARIA attributes are used to make inaccessible HTML accessible. - Wrap the price with semantic HTML, not with a
div
. A paragraph element would be okay. Remember that text content should always be wrapped by meaningful elements.
Other than those two things you have done a great job on improving the HTML. 🙂
Marked as helpful0 - Headings must be in a logical order. Users of assistive technology can use heading tags to navigate the website. If headings are not in a logical order, those users might get confused. In this case, you can start from
- @imadvvPosted about 2 years ago
Greeting Joseph Haddad!! Congratulations on completing Your challenge, 👏👏👏 well done.
I think you don't need all that margins when using
flex
,you can remove this margin from body
margin-top: 20%; margin-bottom: 20%;
and
container
margin-left: 5%; margin-right: 5%;
all you need is a
margin-block: 2rem;
on container .overall you did well, Happy Codding, and have a Good day/night
Marked as helpful1
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