Design comparison
SolutionDesign
Solution retrospective
I'm a newbie so please excuse the mess
Community feedback
- @Jos02378Posted about 3 years ago
Hey @satyamallick7, good job on this solution!
Some suggestions for you:
- You can use
text-transform: uppercase
to capitalized text in CSS. - Try to wrap your code in the body using a main element to clear some accessibility issues.
- You can try to use flexbox to create this solution, it will be easier for you to create the layout for the card.
- Don't set a fixed height to an element as it can cause issues. You can use
min-height
or not setting the height at all so your element can grow as your content grows. - You can try to follow a CSS naming convention called BEM. You can watch this video for more information Watch the video.
- You can try to use more relative units like rem and em in the future. Here is a link to an article that explains when to use which unit see the article.
I hope this helps, good luck!
Marked as helpful2 - You can use
- @vikrantmallaPosted about 3 years ago
Add grid in the box you are good to go. learn Grid and flexbox
Marked as helpful0
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