Design comparison
Community feedback
- @correlucasPosted about 2 years ago
👾Hello @SunbearDay, Congratulations on completing this challenge!
Great solution and a great start! From what I saw you’re on the right track. I’ve few suggestions for you that you can consider adding to your code:
The background wave image is missing and here’s the step-by-step to add it.First of all add the image as a background inside the
body
this is the code for that:background-image: url(../images/pattern-background-desktop.svg);
Then you add
background-repeat: no-repeat
to avoid the background repeating andbackground-size: contain
to make it fit full width and center with the card this is the best choice, but an alternative to resize it is to usebackground-size: 125%
, Here’s the code with the modification and the image applied as background:body { background-size: contain; background-image: url(./images/pattern-background-desktop.svg); background-repeat: no-repeat; background-color: var(--color-pale-blue); font-family: 'Red Hat Display', sans-serif; font-size: 100%; font-weight: 500; line-height: 1.5; display: grid; place-items: center; padding: 1em; }
✌️ I hope this helps you and happy coding!
0@SunbearDayPosted about 2 years ago@correlucas Ooops! I missed that completely. Thank you for pointing that out to me. I need to look more closely at all the material provided as part of the challenge.
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