Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Mobile-first design, HTML, CSS

@hornjbl

Desktop design screenshot for the Order summary component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Question regarding best-practices:

Would you use a header element for the "Annual Plan" wording just above the price, or rather a p or span element, or?

Community feedback

@ron-wollschlaeger

Posted

Hi Ben-Lindsey Horn, Congratulations on successfully completing this challenge! 💪

In terms of your question, it's always a best practice to employ semantic elements that accurately convey the content's meaning. In this context, opting for an <h3> element for "Annual Plan" is a sound choice, as it clearly denotes a subheading within the framework of your order plan. Using semantic HTML elements enriches your content with meaning and structure, and in this case, retaining it as an <h3> is entirely appropriate.

Great job on your project, and keep up the excellent work! 👍

Marked as helpful

0

Please log in to post a comment

Log in with GitHub
Discord logo

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