@correlucas
Posted
๐พHello @tjewlius, congratulations on your new solution!
Great code and great solution! I did this challenge too and know how hard it is to set up this grid layout
. I think you've done a really good job building everything! Here are some tips for you:
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.
This article from Freecodecamp explains the main HTML semantic TAGS: https://www.freecodecamp.org/news/semantic-html5-elements/
โ๏ธ I hope this helps you and happy coding!
@tjewlius
Posted
Hello @correlucas, Thank you for the insightful feedback. I had already placed the content inside <main> so I don't find it relevant to create another <main>. I chose to use the <div> instead of the <div> because are small blocks of content and they don't have any sub-content so using <article> wouldn't add anymore meaning.