Design comparison
Community feedback
- @correlucasPosted about 2 years ago
👾Hello @uzairK134, congratulations on your new solution!
The html structure you’ve used here works, but if you want to make this even better, you can replace the
<div>
you’ve used to keep the blocks and replace with some better html markup and semantic, for example, the main block can be wrapped with<main>
and each testimonial card with<article>
, then you can use a tag that not everyone knows, for the paragraph containing thequote
you can replace the<p>
with<blockquote>
that is tag the describe exactly its 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!
Marked as helpful1@uzairK134Posted about 2 years ago@correlucas thanks for the feedback. I have been using the main tag for a lot of the challenges I was doing. I knew about the article tag but did not use it in a lot of places but will start using it now as well as the quote tag.
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