Having problem with the tribute page

I’ve built the tribute page and everything seems to work but it seems it can pass the test.
Below is a link to my work so far
https://codepen.io/vodarkwah/pen/KKXNGmx?editors=1111.

Kindly review it and alert me on where I may have gotten it wrong. Thanks

You’re giving the image a fixed height with the height property in the image id. Removing the height property from the #image will make the image responsive and the test pass.

1 Like

Hi there! Seems like you have two blocks of code to style your image. The one where you set the height to auto and the max-width to 100% is correct because the challenge asks for the image to be responsive.

Try removing the one where you’re setting the height to 600px and the width to 50% because this doesn’t make the image responsive and check the results again.

2 Likes

Thanks Jeremy. It worked

1 Like

Thanks for your help. It worked