Design comparison
SolutionDesign
Community feedback
- @ashiqfuryPosted almost 3 years ago
Fantastic work.
I can't believe this is your first project. Your solution exactly looks like the design.
- Make sure your text width is lesser than image width. Put the
h1
andh3
in separatediv
container, so that you can code different width for text and image. - Remove
margin
inbody
tag. By doing this, you can fix the extra height in your site. - In
body
tag,font-size
should had relative values like rem, em, %. Using absolute value will reset the tag's default font sizes. - Try using shorthand property as much as possible.
I hope my suggestions will help to improve your code. Thank you. 🙌
Marked as helpful1 - Make sure your text width is lesser than image width. Put 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