Design comparison
SolutionDesign
Solution retrospective
I couldn't find a good way to set the BG image in the CSS with Javascript, so I had to set the BG image inline in the photo
div and use JS to change that. My JS slider solution is kind of crude, so I'd like feedback if anyone knows a better way to do it. I over-styled this one a lot to make it responsive and it's still not perfect...I'd be interested to see if anyone has a more elegant solution.
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