Design comparison
Solution retrospective
I tried Sass/Scss for the first time. I need to practice more to get used to it.
What challenges did you encounter, and how did you overcome them?I had to learn the basic syntax and features of Sass, such as variables, nesting, mixins, functions, inheritance, and compiling files, and I understood how everything works through the challenge.
What specific areas of your project would you like help with?Feedback/suggestions are appreciated.
Community feedback
- @0xabdulkhaliqPosted 5 months ago
Hello there 👋. Congratulations on successfully completing the challenge! 🎉
- I have a suggestion regarding your code that I believe will be of great interest to you.
BACKGROUND iMAGE 📸:
- Looks like the background svg has not been properly set yet, Whenever the user zooms in/out or whenever the user changes the viewport size on browser the Background svg seems to be distorted.
- So let me share my css snippet which helps you to easily apply the
background color
with thebackground svg
they provided to place perfectly as same as design which will not be distorted by layout changes.
- Add the following style rule to your css, and then experience the changes
body { background: top/contain url(./images/pattern-background-mobile.svg) no-repeat, #E1E9FF; } @media (min-width: 47.5em) { body { background-image: url(./images/pattern-background-mobile.svg); } }
- Tip, Don't forget to generate a new screenshot after editing the
css
file
.
I hope you find this helpful 😄 Above all, the solution you submitted is great !
Happy coding!
Marked as helpful0@yurinsPosted 5 months ago@0xabdulkhalid
Thank you for your feedback. I've corrected the code. Your kind help is much appreciated! :)
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