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 HTML and CSS

@Samuelnerat

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 proud of the design.

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

i encountered a challenge with adding horizontal lines to my table. i didn't get a particular resource to fix it

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

i would like help with the code in general if it needs any improvements also how can I add horizontal lines to my table and color to my li symbols and numbers

Community feedback

P
Koda👹 3,810

@kodan96

Posted

hi there! 👋

  • for better class-names you can look up BEM notation

  • for adding horizontal lines to your table you can apply border-bottom to your tr elements in CSS and you can use and border-collapse: collapse; on the table element

  • applying color to li symbols can be done by adding an li::before element like this:

li {
 position: relative;
margin-left: 1rem;
}

li::before {
   content: '\2022';
    position: absolute;
    left: -1rem;
}

'\2022' is unicode for bullet-point

Hope this was helpful 🙏

Good luck and happy coding! 💪

Marked as helpful

0

@JoaoVictodev

Posted

Hello, you can color the dots and numbers with the counter-reset property of the css, take a look at sites like mozilla and w3schools that have detailed information on how it works.

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