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 using pure CSS and no classes

Jun Wei 200

@junwei-wong

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?

Changing hr into a single shade, you will need to add border-style:solid.

 hr {
    border-color: var(--stone-150);
    border-style: solid;
  }

Targeting the li marker specifically to change it's color

  ul ::marker {
    /* works */
  }

  li::marker{
    /* works */
  }

Adding border to the each rows

  tr:not(:last-child) td {
    border-bottom: 1px solid var(--stone-150);
  }

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

Mainly the learnings above, also just searching for the answers. I am using the codeium extension on vscode.

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

I used header tags just for the easy benefit of the padding and sizing, is there a better html element to use for headers?

Community feedback

MiksDev04 250

@MiksDev04

Posted

nicee!! 🤩 Your solution is almost the same as the original design. Great job. Keep it up!

1

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