Help with responsive image in Tribute

I have run the tests for 9/10 passing, the responsive image test was the only one failing. At my first attempt, my image was responsive, scaling up and down within the parent element as I increased/decreased window size, but it still failed. After some tinkering and web-searching, I can’t get it to go back to responsive and I am at a loss.

My tribute project

I have checked your pen. The error with your code is that you gave the image an id (#image) in the html which is different from the image selector in the css (#img). So just correct #img to #image in the css and the code will work just fine. Happy coding!

Wow! Thank you so much. So simple yet aggravating to overlook. Much obliged.

1 Like