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 primarily using Flexbox and CSS variables

@Twincasper

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'm proud of taking it one step at a time and figuring it out on my own as I went along, and just experimenting with things to see how my elements reacted. Next time, I would probably read the style guide md as I didn't realize the code for the variables was already in there, instead of reading from the figma and writing them out myself. But it did help me practice the syntax of doing so.

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

The main challenge was making sure all elements had that spacing-200 around them that the figma showed, so that all elements look clean and neat in a column like fashion. I addressed this by realizing that for most elements besides the svg, it was just a matter of adding some spacing to the left of each element.

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

I'd like help with reducing the amount of css written. I feel like there was a cleaner way to space each element than adding margin-left: 1.5rem to every individual element. But i couldn't figure out how to do that in flexbox.

Community feedback

@AnneClr

Posted

very nice !!

1

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