Design comparison
Solution retrospective
I think it turned out okay - don't currently know enough to assess how I'd do it differently - perhaps use Javascript for the overlay .
What challenges did you encounter, and how did you overcome them?The overlay was the main issue - not sure if I should say this - but checked out W3Schools and they had the exact solution for an overlay with icon using just HTML and CSS.
What specific areas of your project would you like help with?In this particular challenge I reckon the class naming could have been clearer , but generally speaking , other options for creating more concise code.
Community feedback
- @yas-avocadPosted 5 months ago
Hey!
You should set a
max-width
to yourp
element, so that when the size of the browser gets smaller, the container doesn't get narrower and narrower. You can probably set themax-width
to the same width as the image.:)
0@hmac100Posted 5 months agoHi yas-avocad - thanks so much for your helpful comment. I really appreciate your time to check out my code and give some advise : ) @yas-avocad
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