Design comparison
Solution retrospective
Done using HTML and CSS. Let me know your reviews in comment section.
Community feedback
- @danielmrz-devPosted 11 months ago
Hello @mohit-sonii!
Your solution looks great to me!
If you change the
background-color
to#D6E1F0
and use the recommendedfont-family
(I think it's Outfit) it'll look even closer to the original design πI hope it helps!
Other than that, excellent job!
1@mohit-soniiPosted 11 months agoThank you @danielmrz-dev for the comment. Actually I forget to look on the guidelines. π
0 - @MelvinAguilarPosted 11 months ago
Hello there π. Good job on completing the challenge !
I have some suggestions about your code that might interest you.
HTML π·οΈ:
- Wrap the page's whole main content in the
<main>
tag.
- Always avoid skipping heading levels; Starting with <h1> and working your way down the heading levels (<h2>, <h3>, etc.) helps ensure that your document has a clear and consistent hierarchy. Source π
CSS π¨:
- You should use the
box-sizing: border-box
property to make thewidth
andheight
properties include the padding and border of the element. This will make it easier to calculate the size of an element. You can read more about this here π.
I hope you find it useful! π
Happy coding!
1@mohit-soniiPosted 11 months agoThank you @MelvinAguilar for the wonderful suggestions. I understand you point and will work upon to make it better.
1 - Wrap the page's whole main content in 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