Hi ieahleen,
I am having the same problem, used your idea on putting the code inside the element, and got the exact same error…that " Your img
tag should have a display
set to block." I have that, just as Armando above. Also, I then copy-pasted from the lesson’s text as well as from Hint link, which is all the exact same syntax, and got the obvious same error messages. Code below:
img {
max-width: 100%;
display: block;
height: auto;
}