Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Social Proof Section

Ari Griggs 270

@nevercanon

Desktop design screenshot for the Social proof section coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Do you have recommendations for smoother transitions between the desktop and mobile layout? Do you have any critiques of my code organization? Do you think I should have used a different method of creating the desktop layout? Any other critiques of how I completed this project?

Community feedback

@VCarames

Posted

Hey there! 👋 Here are some suggestions to help improve your code:

Regarding your question about the transition,

You can always add a third layout. That’s what I did with my project;

https://www.frontendmentor.io/solutions/social-proof-section-css-flex-and-animation-YPeDVv5Qs6

  • The `headers is not needed for this challenge, since it is a section of a larger site (as the title of the challenge states).
  • Replace the figure with a div in star sections as they do not have a figcaption.
  • The article element is not the best choice for wrapping these testimonials. In order to use the article element the component needs to be able to make sense on its own and be independently distributable (can be used in on another site). These testimonials cannot do neither.

More Info:📚

MDN Article Element

  • To improve the semantics of your component, you will want to wrap each individual testimonial component in a figure element, the individuals information should be wrapped in a figcaption element and lastly, the testimonial itself should be wrapped in a blockquote element.

Code:

<figure>
   <figcaption></figcaption>
   <blockquote></blockquote>
</figure>

More Info:📚

MDN Figure Element

If you have any questions or need further clarification, feel free to reach out to me.

Happy Coding!🎄🎁

Marked as helpful

1

Please log in to post a comment

Log in with GitHub
Discord logo

Join 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