Responsive Testimonials using CSS grid.
Design comparison
Solution retrospective
I had issues aligning the content inside the articles while the articles expanded. I would someone's help to check if its correct.
Community feedback
- @MelvinAguilarPosted almost 2 years ago
Hello there ๐. Good job on completing the challenge !
I have some suggestions about your code that might interest you.
HTML ๐:
- Use the
<main>
tag to wrap all the main content of the page instead of the<div>
tag. With this semantic element you can improve the accessibility of your page.
-
Tip; To improve the semantics of your code you should use the
<figure>
and<blockquote>
tags to wrap the testimonials, with this, you will be able to encapsulate the author and the citation of the testimonial.Example:
<figure> <blockquote> <p>"Example of a testimonial"</p> </blockquote> <figcaption> <p>Example of the author</p> </figcaption> </figure>
You can read more about the
<figure>
and<blockquote>
tags with this two links:
CSS ๐จ:
- The color of the paragraph element is unreadable because it is too light compared to its background.
I hope you find it useful! ๐ Above all, the solution you submitted is great!
Happy coding!
0 - Use the
- @moeeza3Posted almost 2 years ago
use media query and inside it reduce font size of main headings it will help! adjust margins or paddings etc..
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