
Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
I'm proud of the fact that I was able to complete this challenge using the BEM methodology and implementing it through SCSS, which made my styling much cleaner, more organized and easier to understand.
What challenges did you encounter, and how did you overcome them?Two main challenges:
- Since I used the CSS background-image property to add many of the images, I was unable to really add alt attributes. To get around this, I used aria-role as "img" and aria-label as the description of the image.
- Again, the use of the background-image property instead of img elements made it so when I tried to add a hover state that changed the opacity of the image, it also affected the opacity of the elemet's text. I tried to get around this by using some CSS pseudo-elements, but ultimately gave up. Next time though, I will make sure tu use the proper img elements for important stuff.
Acessibility. I feel like I'm still unable to get the whole aria label, labelledby, expanded, etc. right.
Community feedback
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