Design comparison
Solution retrospective
Hello everyone! I am new to web development and this is my first challenge. It took more time than I initially thought. I struggled to make it responsive. I managed to somehow do it but still it doesn't scale properly for some mobile screen widths. I am looking forward to do better in coming challenges.
Any feedback is greatly appreciated. Thank you!
Community feedback
- @ApplePieGiraffePosted over 3 years ago
Hey, Sravan! π
Congratulations on completing your first Frontend Mentor challenge! π Nice work on this one! π
I'd like to suggest using CSS background images to add and position some of the background images in this challenge. Doing so means you wonβt have to add those images directly to your HTML (which will keep your markup a little cleaner) and I think itβs easier to manage background images with CSS because you wonβt have to worry about things like overflow issues. If youβd like to learn more about CSS background images and how to use them, check out this tutorial from MDN.
If you do use CSS background images, you can also try playing around with percentages and viewport units to position the background images in this challenge, since that should help to position the background shapes in such a way that they do not move around so much when the page is resized. That's what I did for my solution to this challenge, and it seemed to work out fairly well.
And I think it would be worth using a layout tool like flexbox to center the card component in the viewport. Try adding this to your styles,
body { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
...to do just that! π
Hope this is helpful. π
Keep coding (and happy coding, too)! π
Marked as helpful1@SravanSTGPosted over 3 years agoHi @ApplePieGiraffe!
Thank you for the valuable feedback. I updated my solution and it looks a lot better.
Thanks again! Happy coding to you too! π
1@ApplePieGiraffePosted over 3 years ago@SravanSTG
Awesome! π Glad to help! π
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