My score is 9/10, and I get this error message: The <img> element should be centered within its parent element

This is my css code for 'tribute post :

#img-caption
{
width: 400px;
}

#image
{

max-width: 100%;
height: auto;
display: block;
}

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36

Challenge: Build a Tribute Page

Link to the challenge:

Hi there. Can you post a link to your Codepen so we can look at your page and its code?

I have it all sorted out… Thanks

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.