Submitted over 3 years ago
HTML, CSS GRID, Display Flex, Media Queries
@marciolourens
Design comparison
SolutionDesign
Solution retrospective
How is the HTML? CSS got too many lines?
What can I improve?
Community feedback
- @vanzasetiaPosted over 3 years ago
👋Hi Marcio Lourenço!
👍 Good job on finishing your first challenge!
I have some feedback on this solution:
- For decorative images, like in this case the
illustration-hero
andicon-music
, you should leave thealt=""
empty. That way the screen reader can ignore those images. - Typo:
<span>Anuual Plan</span>
- It seems like you wrap every element using a
div
. Why don't you just directly style the element? Like theh1
? - Avoid using
!important
flag. In this case, it's not useful to increase the specificity.
.itens-price span img { width: 74%!important; }
- For the
body
, you shouldn't limit theheight
of it. I recommend to usemin-height
instead. - 👏 Good job on using
rem
andem
unit, but you should userem
unit onmax-width:420px;
of your card too. Also, remove thewidth
, it will prevent the card to get smaller on small screen size.
That's it! Hopefully this is helpful!
1@marciolourensPosted over 3 years ago@vanzasetia Thank you very much! I really liked your tips. I will apply these changes to the project.
0 - For decorative images, like in this case the
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