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 Master using HTML and CSS With Flex

@raheemalzeeshan

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


I have created Social Proof using HTML and CSS. In CSS I have use flex for layout.

Community feedback

dewslyse 3,025

@dewslyse

Posted

Hello Mohammed! Congrats on your submission! Well done. Some things to consider:

  • You could center the content to the page by adding the following to your css
body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
}
  • You could add a max-width (e.g: 1440px) to your main to prevent content from spanning the full with of the page. The page looks better that way.

  • In case you decide to take the above into consideration, you can tuck the background images nicely in the opposite corners by applying the following to the body in css

background: url("./images/bg-pattern-top-desktop.svg") no-repeat left top, url("./images/bg-pattern-bottom-desktop.svg") no-repeat right bottom;
  • By the way, you don't need the background-color: var(--white) in the main. Consider removing it.

Happy coding

Marked as helpful

0

@raheemalzeeshan

Posted

@dewslyse Thank you for your valuable comment 👍

0

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