Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 1 year ago

Recipe Page focusing semantic HTML

P
shruticodes01•290
@shruticodes01
A solution to the Recipe page challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

I have used BEM naming method for marking my HTML, I learnt about using classes for styling instead of using HTML elements. I have tried to keep the code readable and simple.

What challenges did you encounter, and how did you overcome them?
  • Table element - at first I tried giving a border-bottom to element, realizing we cannot give border to it. I then tried applying border-bottom on element which of course resulted in a gap between the border-bottom of two elements.

Hence, to be able to apply border-bottom on element, I gave it a display of grid.

  • I had to use h3 heading before h2 heading. I understand as per best practices and for accessibility purpose h3 should come after h2. What would be an ideal way to manage these headings?
What specific areas of your project would you like help with?

Any feedback on how I could improve the solution would be great.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on shruticodes01's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License