3-column preview card component challenge hub
Design comparison
Solution retrospective
This Challenged Completed with the html5 & Css Grid Code. || Css Grid Code very unique and very easy to understandable and Readable for others developers, Grid Code very easy as compared to FlexBox Code, Because grid code is responsive automatically and Adjust automatically
#Webdevelopment #100DaysOfCode #100DaysDev
Community feedback
- @MiculinoPosted almost 3 years ago
Congrats on completing the challenge, Dev Rathore!
It looks quite good. I had a look through your code. Here are a few observations / suggestion that I hope will be useful:
-
There's a bit too much space above the card on smaller screen sizes
-
Use the box-sizing: border-box property https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing
-
Add a transparent border or use outline property for the button so that you don't get that weird effect where the card's height increases because of the button hover
Marked as helpful0@GitHub-dev12345Posted almost 3 years ago@Remus432 Thanks For This Suggestion, i apply your suggestion in my code, and the button weired affect is gone dude, thanks you so much.
0 -
- @ChamuMutezvaPosted almost 3 years ago
Well done, that looks nice. Here is a few suggestion.
- these
<button class="btn">Learn More</button>
, in my opinion should be an anchor element . An anchor element should be used to navigate to another section or another page whereas a button should be used in cases like opening a modal box, play , pause etc. - Having one h1 element per page is considered best practice as it is beneficial to assistive technology users. What i would have done different in this project was to have a visually hidden h1 using an
sr-only
class eg<h1 class="sr-only>My favourite cars</h1>
. The current h1 , i will then change then to h2 elements.
0 - these
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