Design comparison
Solution retrospective
I was proud of the formatting in the HTML, as it made the CSS portion significant easier.
What challenges did you encounter, and how did you overcome them?The image was a toughie, and I only managed to overcome it in the desktop portion by putting the image inside the container image. On mobile, I don't know how to "grow" it to fill the whole space.
What specific areas of your project would you like help with?The text and bullet points would be good for starters, as I had no idea how to really separate them from one another and I had no idea how to leave the bullets all the way to the left. Really please rip into this whole project and lemme know everything I can fix.
Community feedback
- @hellcsabaPosted 2 months ago
Hi Oduwa,
You did a good job for the solution, it's easy to read and understand. Unfortunately I couldn't check you live solution because the website is pending. I took a look on your code and here's what I can suggest you:
- Try to use semantic HTML whenever is possible instead of divs. Some of the semantic like
main, header, footer, article, section
elements. For example you can change the recipe-pagediv
formain
. - For the texts you can use
line-height
property to make it similar to the design. - You used the
li:marker
pseudo element. There you can change thefont-size
which results in a different size of bulletpoint. - If you target the list items
li
and change theirpadding-left
then it will have more distance from the bulletpoints. - To align the bulletpoints all the way left you can manage to do it by setting the
padding-left
of theol
andul
elements.
I love that you used
rem
values in your code. I hope I could help you. Keep up the good work!0 - Try to use semantic HTML whenever is possible instead of divs. Some of the semantic like
- @StroudyPosted 2 months ago
Hey, Love the fact you completed this challenge, some things I noticed,
* {max-width: 100%;}
you don't want this to affect every element, Instead you should apply a full modern reset to make things easier as you build, check out this site for a Full modern reset- Using
max-width: 100%
ormin-width: 100%
is way more responsive then justwidth:100%
, check out this article also from the same Frontend mentor dev responsive-meaning, she goes into more detail. - Using a naming convention like BEM, Using proper naming will prepare you for the changes in design of the website.
- Having better
alt=""
descriptions for accessibility is a must check this out Write helpful Alt Text to describe images, - Missing a
<meta>
description tag for SEO purposes, - It is best practice to have a
<main>
tag inside your body highlighting the main section. - To separate the bullet points from the text you could use
padding-left: 1rem;
to your<li>
element, To be more specific give the<li>
class names to target them each if the spacing is different.
I hope this help and i look forward to hearing more from you, Happy Coding!
0
Please log in to post a comment
Log in with GitHubJoin 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