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 using css and htlm

@JosephSamuel-1

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 open to learn new ways to sort it out easier

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

Targerting the number in the ol tag

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

Styling the page

Community feedback

@R3ygoski

Posted

Hello Joseph, congratulations on completing another Frontend Mentor challenge.

Here are some CSS tips: I noticed you had difficulty coloring the numbers and bullets in the list. To do this, you can use the ::marker pseudo-class. Here's a link explaining how it works: W3School - Marker.

For your <div class="nutrition"> elements, try using width: 50%; to make them more similar to the proposed design.

In your form selector, try using padding: 2rem or padding: 32px to add more internal spacing to your card.

Now, a tip regarding HTML: Let's start with the <form> tag. It's used for creating forms, but this card isn't a form. It would be more appropriate to replace the <form> tag with <main> because that's more accurate.

Again, congratulations. If you have any questions, please comment below, and I'll do my best to help.

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