Design comparison
SolutionDesign
Solution retrospective
Please do review and give suggestions to improve my code. I am new to coding. Thanks in advance :)
Community feedback
- @dwhensonPosted almost 4 years ago
Nice work! This is good going for your first challenge. Lovely use of grid rather than media queries and your solution responds well. Some thoughts/suggestions:
- You could add some
:hover
styles to the button so that it's clear that it's reactive (andcurser: pointer
is a nice touch too. - Instead of setting the same padding on all your
divs
and the parent container you could try creating a container "utility class" with the padding you want and then add that class to the elements you want the padding on. This saves repetition and makes it easier to adjust padding later on if you want to. - Lastly, I'd consider using an unordered list and list items in the final div (rather than the
span
andbr
approach you opted for). This is just a bit more semantic and helpful for screenreaders (list-style
andpadding
set tonone
will help).
1@InduRajputPosted almost 4 years ago@dwhenson, thank you so much for your feedback :) I will try to work on it .
0 - You could add some
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