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

Blog preview card

neiraxx 30

@neiraxx

Desktop design screenshot for the Blog preview card 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 like the size and responsiveness but i feel like i should change the layout and improve css readability

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

positioning the author icon was confusing - solved with a ul

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

i would like to align my text with the image like on the example. how would i do that?

Community feedback

P
Koda👹 3,810

@kodan96

Posted

hi there! 👋

If you want to line up your elements vertically just remove any inline-margin or margin-left from them and let the parent element's padding (you already have that) position the child elements

Hope this was helpful 🙏

Good luck and happy coding! 💪

Marked as helpful

1

neiraxx 30

@neiraxx

Posted

@kodan96 appreciate the feedback! i looked at the margins and paddings and found the issue. it had to do with the padding of my blog preview image within the container, so it was the misaligned image causing me trouble. i've updated it. thank you!

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