Design comparison
Solution retrospective
Hi everyone! This is my first Frontend Mentor Challenge. The concept was easy enough, but I had a few difficulties in places such as the purple color overlay and sizing the image.
- If you have any tips on how I can make my overlay color more accurate to the original, that would be greatly appreciated.
- Also, the image gets a bit squished when switching from desktop view to mobile view. If there's any way I can fix this issue, I would love to know.
- Lastly, I'm working on making my code cleaner and more efficient. If you see anywhere where I could be more concise in my code, or if you have any "best practices" tips I could utilize, please let me know!
EDIT: I was able to fix the squished image issue by adding the element object-fit: cover
to the image
Community feedback
- @ApplePieGiraffePosted over 3 years ago
Hello there, Elyse Chambers! π
Just wanted to say congratulations on completing your first Frontend Mentor challenge! π Nice job on this one! π Your solution looks pretty good and is responsive! π
The is just a small tipβbut you might want to consider not using percentage values for things like margin/padding so much. In my experience, this makes the space between/around elements a little less predictable (and therefore, harder to control) at different screen sizes. Oftentimes, simply setting a fixed value for margin/padding and changing that once (or maybe twice) with a simple media query (when necessary) works just fine and is easier to manage. π Just a thought! π
Keep coding (and happy coding, too)! π
1@ElyseelooPosted over 3 years agoWow, thank you! π₯° And what a useful tip! I never thought about that. For fixed values, I'm assuming you mean pixels. I'll definitely try and implement this in my next project. Thanks again! β¨
0 - @palgrammingPosted over 3 years ago
well remove the mix-blend-mode from you overlay and then add opacity and play around with the opacity level and the background-color
0@ElyseelooPosted over 3 years agoThank you so much! I played around with those setting before and couldn't find the right balance, but I'll try again and see what I can do :)
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