There’s more to the message. It further says; Use the "display" style property with a value of "block" for responsive images.: expected 'inline' to equal 'block'
Two things;
It will fail again but for a different reason. Be sure and read the entire message.
Keep the test script when forking the pen (<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>).
The test script should be included, with all tests passing, when you submit your projects.
It’s annoying for me, or anyone trying to help you, to have to add the test script to see any failing error message.
Please add the test script as mentioned in my previous post and leave it there. Plus, it should be there when you submit any of your projects.
Let me know when you’ve done that and I’ll give you a hand.
Thank you.
Everyone was a noob at some point. How did you know what tests were failing if you didn’t have the test script?
So now if we look there needs to be a way to ensure that the #image is centered. This can be easily done automatically by using something like a property: value; of margin: auto;
As an aside, this is also something that could have been found buy utilizing the Search part of the Read-Search-Ask method and using a good Google search.
Even easier, this has been asked multiple times within this forum and a search of the forum would have yielded the answer.
I’m not being harsh. Just letting you know that answers can be found very easily by doing a little research first. As a dev, it’s something you’ll do daily…hourly even.
I set the display to inline-block, 0 margin…nothing is correcting the error.
What I’m asking for is another set of eyes to look over the code to see if I made a minor mistake. I need to assess the problem backwards from the solution in order to learn and move forward.