I believe I have done everything, yet I keep getting 9/10. Can someone please tell me why. Here is a link to my code
1 Like
Here’s where it goes wrong
- The
element should responsively resize, relative to the width of its parent element, without exceeding its original size.
heres what you can learn to sollute:
https://www.w3schools.com/html/html_responsive.asp
I did that on CSS line 31.
Did you add the margins as well?
What about the display?
max-width and width?
just below your failing test case there is written:
Try using the "max-width" style property : expected 'none' to not equal 'none'
try with that - you may also be still failing the test, but the text would change at that point. Try to follow then the new hint
and just as I am here, for #title
you have padding
twice - remember that only last one will have effect
#image{
display:block;
max-width: 100%;
height: auto;
border-radius: 5px 5px 0 0;
}
try this minor change.
Goodluck!