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

3 column card

@Abolude30

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


looking forward to your beneficial inputs and corrections.

Community feedback

jnunez2301 170

@jnunez2301

Posted

First i would highly recommend you to center the body to make things easier for this i would highly recommend doing:


body{
display: grid;
min-height: 100vh;
place-content: center;
}

Then on your container make the whole thing with a width wich on your case would be:


.parent-div{
width: 350px; /* note that this width can be any width you want */
height: 550px; /*note that this height can be any height you want */

This are a few documents that i would highly recommend to anyone, i still look at them whenever i'm kinda lost.

Learn Flexbox

Centering in CSS

0

@Abolude30

Posted

Thanks a lot I really appreciate the contribution, would go through the documents sent @Roxc2301

1
P

@newtothis90

Posted

Just a few things I noticed:

  1. Try increasing the padding on your .parent-div div{} Perhaps try starting at 30px and go from there.

  2. The button width is way too large and the height isn't tall enough.

  3. The button margin from the paragraph needs to be longer.

Sidenote: If you are familiar with Grid, you could easily space all of your elements out vertically.

It looks really good other than those few items! Great Job and Keep Going!

0

@Abolude30

Posted

Thanks for the suggestion and words of encouragement. Really gladens me@newtothis90

0
P

@newtothis90

Posted

@Abolude30

Absolutely! If you ever need any help or advice, please just ask and i'll see if I can help out!

Happy Coding!

Marked as helpful

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