Tarjeta utilizando HTML SASS - flexbox

Please log in to post a comment
Log in with GitHubCommunity feedback
- @PhoenixDev22
Greeting @eduardovaliente ,
I have few suggestions regarding your solution:
-
To tackle the accessibility issues, you can use
<footer >
to wrap the attribution . HTML5 landmark elements are used to improve navigation . -
Remove
<br>
, instead you can use padding or max-width.
It's better not to use a header for
class="card__subtitle "
, you can use<p>
.-
using
min-height: 100vh
instaed ofheight: 100vh
allows the body to to grow taller if the content outgrows the visible page. -
width: 260px
an explicit width is not a good way . consider usingmax-width
to card instead. -
font-size: 62.5%;
changing base html size. This has huge accessibility implications for those of us with different font size or zoom requirements. -
You should use
em
andrem
units .Bothem
andrem
are flexible, Usingpx
won't allow the user to control the font size based on their needs.
Overall , your solution is good.Hopefully this feedback helps.
Marked as helpful -
- @UsamaBinKashif
Great one mate, I'll be happy if you look into my solution.
Marked as helpful
Join 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