Design comparison
SolutionDesign
Community feedback
- @rachit0706Posted about 2 years ago
Hey Naitik great attempt of the challenge! But I have few suggestions for you for your code:
- You should use a semantic element like main and put every element inside.
- You can add a common class like "card" or something else to every card and use flexbox for better layout. Here are some useful links: https://www.w3schools.com/css/css3_flexbox.asp, https://flexbox.tech/
- Instead giving different border radius to each card you should give one border radius to the container div and set its overflow property to hidden.
Marked as helpful1@naitiklodhaPosted about 2 years ago@rachit0706 Thank You for your suggestion Rachit.Your suggestion would help me improve my CSS skills.
0
Please log in to post a comment
Log in with GitHubJoin 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