This is the assignment but i am not able to get it responsive:
The element should responsively resize, relative to the width of its parent element, without exceeding its original size.
This is my code if anyone can look at it, my guess is that i have problems because i used more than one image but i cant seem to find a fix to this problem:
Welcome to the forums @laurentlugtenburg. When a test fails click the red button to see which test(s) are failing and text to help you correct the issue.
Be sure and read more than just the first line of the failing message. The ability to read and comprehend error messages is a skill you’ll need to acquire as a developer. Ask questions on what you don’t understand.
The full failing message says
The <img> element should responsively resize, relative to the width of its parent element, without exceeding its original size.
Try using the "max-width" style property : expected 'none' to not equal 'none'
AssertionError: Try using the "max-width" style property : expected 'none' to not equal 'none'
I read the failing message completly but still could’nt make the code work.
Can you maybe look at the code and give me a feedback of what the problem is here?
I don’t see where there is any change in your code. The img element (which is coded with id="image") still has width. The failing message tells you what it’s looking for. When I make that change all tests pass.
Understand. That’s why it’s important to read all the failing message and read it thoroughly.
Good job getting it fixed.
There are issues with your page that you need to address still but you probably know that. If you’d like feedback be sure to ask in the #project-feedback subforum.