UserStroy #8 of the tribute page project suggested by freecodecamp

Tell us what’s happening:
Hey so i thought i have finally finished my tribute page but i forked my project and i found out that only 9 of 10 tests are completed and there is a failed test but I couldn’t find my mistake. Can you help me please I’m new to web development and I can really use your opinions as well as your critical comments.
This is the link to my tribute page https://codepen.io/saharbenyahmed/pen/vYLMKpb
thanks in advance

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/84.0.4147.89 Safari/537.36.

Challenge: Build a Tribute Page

Link to the challenge:

1 Like

Hi @SaharBenYahmed,

If you click on ‘Tests 9/10’ , the below window will open:

If this does not help, search the forum as this has come up before and you’ll find suggestion on how to fix it from previous conversations.

I hope this helps, happy coding :slight_smile:

Thank you so much for your response
I’m afraid I tried to add the display property with a value of block but it didn’t work unfortunately

Hi @SaharBenYahmed,

It looks like you have fixed it now as I get 10/10 on your test :slight_smile:

1 Like

Indeed, it turned out that my project was missing this part
#image {
width: 100%;
height: auto;
max-width: 625px;
margin-left: auto;
margin-right: auto;
display: block;
}
thank you for checking my project

1 Like