I really need help here

i have been on this for close to four days now i just need someone to please tell me where i got it wrong its really getting me confused and faustrated.
you can go through this link https://codepen.io/20bullet/pen/RwRrwQo

You doing well. it pass 9/10 tests. What’s the problem?

You are almost done you are failing single test which you can get simply by clicking the
TESTS button after clicking Run tests button

if you still not able to recognise the isse :slight_smile:
You are missing the

img{
display: block;
margin: auto;
}

That didn’t work either :cry:

The element should responsively resize, relative to the width of its parent element, without exceeding its original size

I have done the above but i still get 9/10…its really faustrating

img {
  display: block;
  margin: auto;
  max-width: 100%;
}

This should work:

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

@BigBabyBoy If you do what @GameMonk suggested, the last test will pass. In your CSS code, go to your img element, then above the code that you have already wrote, add

display: block;
margin: auto;

Once those two pieces of code are added, click on “run tests” again. It will turn green and read 10/10.

1 Like

Hi everyone~!

I have blurred everyone’s solution codes.

Instead of posting your working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions.

3 Likes

Hi, how to blur the code, or is that feature only available to Leaders? @nhcarrigan

You can blur code (or non-code too) with [spoiler] [/spoiler] tags :smiley:

2 Likes