Design comparison
Solution retrospective
Your feedback is always welcome.
Community feedback
- @BlackpachamamePosted 10 months ago
Greetings! you have done a great job š
š Some accessibility and semantics recommendations for your HTML
- To improve the semantics of your HTML, you can change your
<div class="attribution">
to a<footer class="attribution">
- To center the content you do not need
margin: auto
. You can usemin-height: calc(100vh - 16.5px)
to make themain
andfooter
enter the screen without generating a vertical scroll
0@xdevimranPosted 10 months ago@Blackpachamame Thank you so much, I'm working on it and will fix it. Have a good day Marcos
0@xdevimranPosted 10 months agojust update the code can you please check the updated code, as you say I tried to implement the semantics HTML and also remove margin: auto @Blackpachamame
0@BlackpachamamePosted 10 months ago@xdevimran Looks good, but apparently
min-height: calc(100vh - 16.5px)
doesn't work in tailwind, it should bemin-h-full
formin-height: 100vh
andmin-h-[220px]
(example), for a custom value.However, it seems to me that tailwind does not accept
min-h-[calc(100vh - 16.5px)]
as valid. Maybe if you add it as a custom value intailwind.config.js
it will work.Marked as helpful0 - To improve the semantics of your HTML, you can change your
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