Tribute page codepen help!

It shows this message, i miss only this point but I don’t know how to do it

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

my pen

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36

Challenge: Build a Tribute Page

Link to the challenge:

Hey.
Please provide a link to your codepen project, so fellow coders can help.

Change display: center to display: block
You must add a margin: auto property to your #image too

1 Like

Here’s what the error message says: Use the "display" style property with a value of "block" for responsive images.: expected 'inline' to equal 'block'. In this challenge you kind of have to use display:block. This is situational though.

1 Like