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

Four card feature section

vknir 60

@vknir

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 got through the challenge. Learning and understanding flexbox and grid was not as easy as I expected

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

Got down the exact design as per the challenge but I had to refer a video by Kevin Powell.

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

How to better use flexbox, grid and also with the semantics of CSS coding. Some of the code that I have seen and the code that I write are very different. The naming convention, use of various classes, where to use classes etc. If someone can provide resource on the above please do.

Community feedback

MikDra1 5,990

@MikDra1

Posted

As you have rounded corners on the cards the border-top property also gets rounded. The design shows that this border shouldn't be rounded and that's why you should try this method I showed you. 😁

Marked as helpful

1
MikDra1 5,990

@MikDra1

Posted

Nice one 😀

If you are curious how you can do this straight lines on the top of each card here is my tip:

Create another element in each of the cards. Then position this element absolute. Card should be positioned relative. At the end you need to give this element a height of 3px width of 100% and top 0 and left 0. You can also use ::after or ::before pseudo elements to create these.

Hope you found this comment helpful 💗

Good job and keep going 😁😊😉

Marked as helpful

1

vknir 60

@vknir

Posted

@MikDra1 thanks for the advice, if it is possible can you give me an example to refer as I am unable to understand. Anything will be appreciated

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