Design comparison
Community feedback
- @correlucasPosted about 2 years ago
๐พHello Karishma, congratulations for your new solution!
Youโve done really good work here putting everything together, Iโve some suggestions you can consider applying to your code:
Your html is working but you can improve it using meaningful tags and replace the divs, for example the main div tht takes all the content can be wraped with
<main>
or section, about the cards you can replace the<div>
that wraps each card with<article>
you can wrap the paragraph with the quote with the tag<blockquote>
this way you'll wrap each block of element with the best tag in this situation. Pay attention that<div>
is only a block element without meaning.Here's a complete guide for HTML semantic TAGS: https://www.w3schools.com/TAgs/default.asp
Use a CSS reset to avoid all the problems you can have with the default CSS setup, removing all margins, making the images easier to work, see the article below where you can copy and paste this css code cheatsheet: https://piccalil.li/blog/a-modern-css-reset/
โ๏ธ I hope this helps you and happy coding!
Marked as helpful1@Kdt98Posted about 2 years ago@correlucas Hi Lucas, thanks for sharing feedback and helpful resources.
0 - @romila2003Posted about 2 years ago
Hi Karishma,
Congratulations ๐ for completing this challenge, it was a great attempt. The web page looks good however, there are some issues I want to address.
- It is best practice to wrap the main content within the
main
tag which would ensure that your content is wrapped within the correct landmarks e.g.<main class="container"></main>
- Your CSS Grid looks great in the desktop version however the grid isn't responsive when adjusting the screen size. I noticed you took the desktop-first approach so a good suggestion would be to use the mobile-first approach as this will help you to change the layout for the cards, as you increase the screen size therefore your layout will be better in terms of responsiveness.
- You should set the
background-color
to yourbody
tag instead of the.container
as the body will cover everything. - In your report, there was an issue regarding the link tag for your CSS fonts so I think you should double check if the URL is correct.
Overall, great attempt and wish you the best for your future projects so keep coding ๐.
Marked as helpful0 - It is best practice to wrap the main content within 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