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 | HTML, CSS, Flexbox and Grid

P
Christinaβ€’ 190

@codercreative

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 updated my solution based on @hyrongennike's very helpful tip.

Turned out I had not entered the correct path to the icon stars. Even though the icon stars showed up in the local Go Live of Visual Studio Code - the stars disappeared when I pushed the project to Github. πŸ€” I will now be super aware of entering the correct path in future.

Community feedback

Lucas πŸ‘Ύβ€’ 104,420

@correlucas

Posted

πŸ‘ΎHello Christina, congratulations for your new solution!

To add the two wave svg background images in the (top/bottom),, 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, to manage different images inside a single css property as background-image you use the comma inside each properties declare the single modification for each circle separated. See the code below to see your solution with those backgrounds applied:

}
body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    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;
    font-size: 16px;
    font-family: "League Spartan", sans-serif;
    /* text-align: center; */
    /* margin: 0 auto; */
    /* margin-top: 5vh; */
    /* width: 90%; */
    /* background-image: url(../images/bg-pattern-top-desktop.svg); */
    /* background-position: top left, bottom right; */
    /* background-repeat: no-repeat; */
    /* background-size: 40%, 25%; */
    display: flex;
    align-items: center;
    justify-content: center;
}

✌️ I hope this helps you and happy coding!

Marked as helpful

0

P
Christinaβ€’ 190

@codercreative

Posted

Hi @correlucas, thank you so much for this very helpful tip! πŸ™πŸ˜ƒ

1
Hyronβ€’ 5,870

@hyrongennike

Posted

Hi @codercreative,

Congrats on completing the challenge, really nice job. The stars are the only thing that is missing.

Marked as helpful

0

P
Christinaβ€’ 190

@codercreative

Posted

Hi @hyrongennike -- thank you for your kind feedback and for pointing out that the stars are missing 😳

Everything is fine when viewing the site via Visual Studio Code -- so not sure what went wrong πŸ€”. I will have to revisit...

All the best, Christina

0
Hyronβ€’ 5,870

@hyrongennike

Posted

@codercreative Hi believe your relative path to the star svg is wrong add this on the background image - url("../images/icon-star.svg").

The ../ is to go outside the CSS folder because currently it's looking for an images/.. folder inside the CSS folder.

Marked as helpful

0
P
Christinaβ€’ 190

@codercreative

Posted

Hi @hyrongennike -- I will give that a go. (weird though, because the stars are showing on the Go Live page via Visual Studio Code).

Thank you! πŸ™

0
Hyronβ€’ 5,870

@hyrongennike

Posted

@codercreative Yeah that is strange I'm just checking the folder structure on GitHub, did you maybe move the CSS files to a CSS folder just before pushing to GitHub?

1
P
Christinaβ€’ 190

@codercreative

Posted

Hi @hyrongennike -- Thank you so much again for all your help! πŸ™Turns out that the missing dots ../ for my star icon URL did the trick. You made my day! β˜€οΈ

0
Hyronβ€’ 5,870

@hyrongennike

Posted

@codercreative no problem glad you got it sorted.

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