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
Request path contains unescaped characters
Request path contains unescaped characters

Submitted

four-card-feature-section-master

P
nimrodEDE 140

@nimrodEDE

Desktop design screenshot for the Four card feature section 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 starting to use grid , I need to learn alot more and to be better with it .

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

i was having trouble layering the cards in + shape ! I really dont know if i did a good job or not , but it seems to work .

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

fixing my grid . thanks !

Community feedback

P

@vstm

Posted

Congratulations on finishing that challenge, nicely done.

I have looked at your code with regards to the grid and there are some things I think you could do.

  • You rely on margin-top: 7em; to vertically center the boxes, this could be solved easier if you remove the margin-top and just set align-items: center on the .cards-container. The align-items and justify-content properties are helpful to know here.
  • Inside the grid you wouldn't (or shouldn't) rely "margin" that often, you would rather use the gap property to make the space smaller/larger (which you actually used)

Hope this helps as a first pointer, if you have any questions about my comment don't hesitate to ask.

0

@SvitlanaSuslenkova

Posted

you don't have problems with grid itself, you should add max-width to cards-container.

also consider to move @media point because your desktop design doesn't fit in 600px screen and should not.

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