** I am currently stuck and unable to resolve these three feedback I keep getting after I run my code
-
Failed:Your
img
element should have adisplay
ofblock
-
Failed:Your
#image
should have amax-width
of100%
-
Failed:Your
#image
should be centered within its parent
**
Your code so far
WARNING
The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.
You will need to take an additional step here so the code you wrote presents in an easy to read format.
Please copy/paste all the editor code showing in the challenge from where you just linked.
<div id="img-div">
<img class="center" id="image" src="https://raw.githubusercontent.com/FreeCodeCamp-Solutions/Build-A-Tribute-Page/5216e09ea762c241c2fa42298f6bbf15d8caf21a/images/steve-jobs-macintosh.jpg" alt="Steve Jobs with his Macintosh">
#image {
max-width: 100%;
margin: auto;
display: block;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
Challenge: Responsive Web Design Projects - Build a Tribute Page
Link to the challenge: