Design comparison
Solution retrospective
Hello there,
I just finished my third challenge. I want your suggestions what can be improved and in general what you like or you don't like. Thank you in advance for feedback :)
Community feedback
- @Agnik7Posted over 1 year ago
Hi, Congratulations on solving this challenge!!!๐๐๐๐ I just went through your code, and have a few suggestions that I feel will help you.
-
Replace the
h3
tag with anh1
tag to get rid of the accessibility issue. -
In the CSS file, you don't have to mention
width:100%
to thebody
tag, because, for any element, if width is not mentioned, it takes up a 100% of its width by default. -
In the
body
tag, replace theheight:100vh
withmin-height:100vh
, for better responsiveness. -
For the
p
tag inside thediv class="value"
tag, instead of using font-weight, you can use the <b></b> to make the text bold, thereby requiring one less CSS line.<p><b>0.041 ETH</b></p>
Hope this comment helps you. Please feel free to correct me if I said anything incorrect. Have a nice day!!
Marked as helpful2 -
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