Build a Tribute Page [SOLVED]

Tell us what’s happening:
All tests passing except: #Layout - 1.
The element should responsively resize, relative to the width of its parent element, without exceeding its original size.

So, I’m getting that error, and for me, when I resize the window, the image responsively resizes.
Not sure what the problem is?
Your code so far
See the Pen Free Code Camp: Tribute Page Project - Elon Musk by @pen-cube-run-the-fuse on CodePen
Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3025.0 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/responsive-web-design-projects/build-a-tribute-page

the error tells you exactly what you need to do:

AssertionError: Use the “display” style property with a value of “block” forresponsive images.: expected ‘inline’ to equal ‘block’

1 Like