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

Simple Card Box Using Flexbox

REXXā€¢ 110

@yorise

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?

Give me suggestions that will improve my skills for the challenges ahead šŸ˜āœŒāœŒ

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

Built with :

-HTML

-CSS (Using Flexbox) šŸŽØ

Community feedback

Alexā€¢ 3,130

@Alex-Archer-I

Posted

Hi

It's a neat work, but setting width of main to 25% wasn't a good idea =) On the mobile version, which is 375px, the width of the card is 94px.

Here is a tip for simple responsive width:

main {
    width: 95%;
    max-width: 40rem;
}

That way it'll keep 40rem width and become 95% if screen size will be less. Of course, you can use any values, it's just an example.

The same about the avatar picture - it's quite a tiny element, so there is no harm to hardcode it's width =)

Overall, cool work, keep doing =)

Marked as helpful

0

REXXā€¢ 110

@yorise

Posted

Ohh I see. Thanks for your efforts in correcting my code and for the feedback. šŸ˜šŸ˜šŸ˜ƒ @Alex-Archer-I

1
Alexā€¢ 3,130

@Alex-Archer-I

Posted

@yorise

Glad I could help =) Feel free to ask or comment if you need =)

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