Skip to content
  • Learning paths
  • Challenges
  • Solutions
  • Articles
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 2 years ago

social proof section using HTML and CSS

itcss
Mouhib Eddine Zakaria•160
@mouhibeddine
A solution to the Social proof section challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Any suggestions on how I can improve are welcome!

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

  • Lucas 👾•104,200
    @correlucas
    Posted over 2 years ago

    👾Hello Mouhib Eddine, congratulations for your new solution!

    You’ve done really good work here putting everything together, I’ve some suggestions you can consider applying to your code:

    To add the svg images (bottom/top) in the background, the best way is by using background-image to manage it since adding them to the body you make sure it will be under everything, see the properties below and see that the comma inside each properties declare the single modification for each svg image separated.

    body {
        background-image: url(images/bg-pattern-top-desktop.svg), url(images/bg-pattern-bottom-desktop.svg);
        background-position: left -185px top -236px, right 10px bottom -300px;
        background-repeat: no-repeat, no-repeat;
        background-attachment: fixed, fixed;
        background-size: contain, contain;
        display: flex;
        justify-content: center;
        min-height: 100vh;
        align-items: center;
        font-family: "League Spartan", sans-serif;
    }
    

    You did a really good work here putting everything together, something you can improve its your code html markup and semantics. 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. Pay attention that <div> is only a block element without meaning.

    ✌️ I hope this helps you and happy coding!

    Marked as helpful
  • Phúc (Scott) Nguyễn•430
    @NationsAnarchy
    Posted over 2 years ago

    Well done on completing the challenge, Mouhib!

    I believe that the next step we can do with this one is to implement responsive designs once the website shifts the layout to smaller screen width.

    You can have a look at the @media query CSS properties and start working from there: https://www.w3schools.com/css/css_rwd_mediaqueries.asp

    Let us know what else we can help you with, and have fun coding!

    Marked as helpful

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
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub