Build a Tribute Page - codepen sits testing

Tell us what’s happening:

I’m attempting to finish the Build a tribute page project and I’m having a few troubles. When I run the tests I receive 9/10 failed. I honestly can’t see how I’ve done 9/10 of the requested tasks wrong for the project.


I’m also unsure why it isn’t showing my code on the forum :(. Here is my codepen link

I changed my margin to auto in the image itself (didn’t notice lol) and I also noticed the width property wasn’t mad-width. Sorry guys lol.
Your code so far

#img-div { display: block; margin-left: auto; margin-right: auto; } #image { height: auto; width: 100%; display: block; }

Dr.Norman Borlaug


Text about the image.


A link.

Your browser information:

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

Link to the challenge:

It shows 10/10 passed when I run the tests on your project

So sorry I missed max-width, sorry for wasting your time. In the original I had width, not max-width for the image lol.

Not a problem - sometimes asking about your problem helps you find your solution