@DylandeBruijn
Posted
@stephen3425
Hiya! 👋
Congratulations on your solution, it looks very close to the design! I can tell you put a lot of effort into it.
Things you could improve ✍️
-
Try experimenting with the CSS layout tool Flexbox, it will help you greatly structuring elements on your webpage.
-
You could add a
min-height: 100vh
to yourbody
element so it takes up the full height of the viewport while still being able to grow when the content inside it grows. -
Try experimenting with CSS variables, they help you make your CSS values more reusable across your code.
-
I suggest using clear descriptive CSS classes like
.recipe
,.recipe-title
and.recipe-description
. -
Try using semantic HTML elements like
main
,section
andarticle
. -
I see you use
li
elements without them being wrapped in anul
. I suggest wrapping them in anul
. -
To style the bullet points you can look into the
::marker
pseudo element. -
I suggest not mixing inline styling and external styling. I would put all your styling in a separate stylesheet to keep everything managable.
I hope you find my feedback valuable, and I would appreciate it greatly if you could mark my comment as helpful if it was! 🌟
Let me know if you have more questions and I'll do my best to answer them. 🙋♂️
Happy coding! 😎