Design comparison
Solution retrospective
I learned how to apply the gird property especially grid-template-areas
Community feedback
- @correlucasPosted about 2 years ago
๐พHello Usman, Congratulations on completing this challenge!
Here's some tips to improve your solution:
MAKE THE CORRECT ALIGNMENT WITH
MIN-HEIGHT: 100VH
:body { MIN-HEIGHT: 100VH; background-color: var(--Light-gray); display: flex; align-items: center; justify-content: center; }
You've missed the color for the background, in this case is
background-color: #EDF2F8
and add it to the body.Your html is working but you can improve it using meaningful tags and replace the divs, for example the main div that takes all the content can be wrapped 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. Note that<div>
is only a block element without meaning, prefer to use it for small blocks of content.โ๏ธ I hope this helps you and happy coding!
0
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