Design comparison
SolutionDesign
Solution retrospective
- I use css clamp function to adjust the text to the screen size
- Created with the mobile first methodology
Community feedback
- @IryDevPosted over 1 year ago
Hi @LevyMatias 😄. Congratulation on successfully completing this challenge ! !
I have some recommendations in order to improve your solution :
- Replace the <div class="attribution> by the semantic <footer> tag
- Semantic html improve accessibility of your web page
- Add to the body the property,
display: flex;
,justify-content: center;
,align-items: center;
to make the card center on the vertical axis and horizontal axis
HTML :
<body> <main> <div class="card"> </div> </main> <footer class="attribution"> </footer> </body>
CSS :
{ display: flex; align-items: center; justify-content: center; }
I hope you'll find this helpful! 😄 Above all, your solution is really good !
Marked as helpful1
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