Design comparison
SolutionDesign
Solution retrospective
I initially struggled quite a bit with making the image fill the entire image container on the left. I played around with a-lot of setting and there was a-lot of trial and error trying to get the solution....so much so that I'm actually not sure what i was originally doing to not make it work :/
I wrote some JS to allow the tooltip's position to be dynamic. An event listener on the window will run the position function once the DOM has completely loaded. There is also an event listener that will rerun the position function every time the window is resized.
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