The last test requires this: The img element should responsively resize, relative to the width of its parent element, without exceeding its original size.
I’ve tried all the methods I know but nothing is working. Please help me. I’m so frustrated.
In the Css code editor, I’ve declared rules for the img element as follows:

max-width: 100%;
height: auto;

but nothing happens in the preview, the image doesn’t even appear and when I run the tests, there is no progress.

This is the link to the code pen I’m using:

Challenge: Build a Tribute Page

Link to the challenge:

when you ask for help with a project, you really need to provide the link, or it’s impossible to help you

anyway, you can click on the number of passed tests to see which ones are failing, and below it there is an error message that usually tells you what’s the issue

1 Like

@carltsidi52 On Code Pen, click the red button that states 9/10. Find the test that is still showing as failed (Layout #1). It tells you exactly what to do in order to pass that test. You are missing one piece of code.

1 Like

Thanks for the tip. It helped me present my challenge better.Thanks so much.