Having One last Problem With The Tribute Page Requirements

I am getting #Layout no:1 warning. This is my code for img element in the CSS.

img {
  max-width:100%;
  min-width:10%;
}

Any ideas about my mistake?

It would really help if you gave us a link to your project so we could see everything and test for ourselves.

1 Like

Hi @bgb !

For future posts, it would help others to know specifically which user story you are working on.
It sounds like you are on this user story.

The <img> element should responsively resize, relative to the width of its parent element, without exceeding its original size.

Make sure you are reading the full error messages and not just the first line.
Open up the test suite to see what the message says.

In this case, you are missing a few things.
Keep opening up the test suite to keep reading the changing error message so you can pass the test.

Hope that helps!

Thank you for your effort. I did it with the help of @jwilkins.oboe . Next time i will do as you advised.

That did help. Thank you for your time @jwilkins.oboe . Much appreciated.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.