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

Recipe page - HTML, CSS, SASS

@Antonio-Riccelli

Desktop design screenshot for the Recipe page coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


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

I'm happy that I used a preprocessor like SASS for the first time in a project. I knew of it but never quite managed to use one for something.

Next time I would plan a bit more the HTML structure ahead of starting.

What challenges did you encounter, and how did you overcome them?

The real challenge was finding the right sizes and values for certain properties and making the whole layout responsive and coherent.

What specific areas of your project would you like help with?

  • I would like to know if my choice of HTML semantic tags was correct.
  • I'd like advice as to whether my SASS code can be simplified.

Also, a piece of advice:

  • I keep getting an error in the HTML report saying

Element "p" not allowed as child of element "hgroup" in this context. (Suppressing further errors from this subtree.)

This doesn't seem to make sense, as the hgroup header exists precisely to wrap these type of tags: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hgroup

I could be wrong though!

Community feedback

py-code314 290

@py-code314

Posted

I also got the same error and then I found this post from 'stack overflow'. I am still confused to use it or not 😀

1

@Antonio-Riccelli

Posted

@py-code314 Thanks for that, that was interesting. I think MDN can be considered the authoritative source in this case, so I'm going to stick to that. It's a good learning opportunity to see how these things can be changed or are discussed, though : )

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