Submitted 8 months agoA solution to the Recipe page challenge
Recipe Page Completed with VSC
P
@ctspecht12

Solution retrospective
What are you most proud of, and what would you do differently next time?
It's been a while since I've coded, so I'm proud I was still able to recreate this from scratch with minimal difficulties.
What challenges did you encounter, and how did you overcome them?The main challenges I had were that I had forgotten how to properly style the <hr> elements and I couldn't remember how to style the li markers and increase the space between the markers and the text. Ultimately, this is the solution I came up with:
hr {
margin-top: 2rem;
height: 1px; color:
hsl(30, 18%, 87%);
background: hsl(30, 18%, 87%);
font-size: 0;
border: 0;
}
ul, ol {
margin: 0 0 0.5rem 1.2rem;
padding: 0;
}
li { margin: 0 0 0.7rem 0;
padding-left: 1rem;
}
li::marker {
color: hsl(14, 45%, 36%);
font-size: 14px;
}
ol li::marker {
font-weight: bold;
}
What specific areas of your project would you like help with?
If there are any more efficient solutions other than what I came up with, I'm certainly open to feedback.
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on ctspecht12'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