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

Need Help Grid Solution

@ieatn

Desktop design screenshot for the 3-column preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


  1. How do I get the rounded borders?
  2. How to make buttons lower?

Community feedback

@0xabdulkhaliq

Posted

Hi there 👋:

  • The button element wants to placed bottom of its container
  • Borders lacks radius which affects main component's look

RESOLVING THE ERROR

  • You've applied border-radius for main component, but you forget to hide the overflow of content
  • Try these following snippet,
main {
     overflow: hidden;
}
  • Now, we discuss about button
  • Just add margin-top: 25px; style to button element to resolve it

MESSAGE:

  • If my answer helps you then providing an upvote will be very helpfull and don't forget to mark this comment as helpfull
  • I hope you learned a lot of stuffs during this project, Congrats Dennis

GREETINGS:

  • Happy coding..🙌
  • Peace be upon you with god's mercy & blessings..✨
1
Hassia Issah 50,670

@Hassiai

Posted

Give the main a fixed width value instead of a percentage width: e.g main{width:900px;}

There is no need to give the main a height value the padding value in .car will sufficient for it and more responsive. Reduce the padding value of .car, for the rounded borders use border-radius , give the buttons a margin-top value to lower them.

Use rem or em as unit for the padding, margin, width and preferably rem for the font-size for more on this watch this https://youtu.be/N5wpD9Ov_To

Hope am helpful HAPPY CODING

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