I’m struggling in these three parameters while building the Tribute Page.
Despite setting all parameters mentioned in the CSS code, I’m still getting the same error.
Your img element should have a display of block.
Your #image should have a max-width of 100%.
Your #image should be centered within its parent.
Is anyone facing the same issue, if yes how did you overcome this.
We will need to see your code if you’d like us to help you figure out why you’re not passing those tests.
You can use the Preformatted Text tool (</> icon or CTRL+e) to create two sets of triple backticks. Paste your code between these so that it displays correctly on the forum.
Thank you!
I’ll remember to paste my code in the forum from now on.
I had a spelling error while linking my style sheet which was causing the error.
It is resolved now, and I’ve passed all parameters.