# Error Message - Tribute Page

**URL:** <https://forum.freecodecamp.org/t/error-message-tribute-page/308745>\
**Category:** General\
**Created:** [August 24, 2019, 1:17pm UTC](https://forum.freecodecamp.org/t/error-message-tribute-page/308745 "2019-08-24T13:17:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![teachandsoar](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/teachandsoar/32/122738_2.png) [@teachandsoar](https://forum.freecodecamp.org/u/teachandsoar)\
**Post date:** [August 24, 2019, 1:17pm UTC](https://forum.freecodecamp.org/t/error-message-tribute-page/308745/1 "2019-08-24T13:17:43Z")

</div>

Hi,

I’m having difficulty with clearing one item when testing my tribute page. I am continuously getting the following error message:

**Try using the “max-width” style property : expected ‘none’ to not equal 'none’**  
**AssertionError: Try using the “max-width” style property : expected ‘none’ to not equal 'none’**

My tribute page is at [https://codepen.io/teachandsoar/pen/mNzBNb](https://codepen.io/teachandsoar/pen/mNzBNb)

I would greatly appreciate it if someone could point out any error(s) that I’ve made with “responsive resizing and centering an image” and provide feedback on how I can make corrections.

Thanks!

---

<div class="post-metadata">

**Author:** ![kevinSmith](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/kevinsmith/32/72934_2.png) [@kevinSmith](https://forum.freecodecamp.org/u/kevinSmith)\
**Post date:** [August 24, 2019, 1:51pm UTC](https://forum.freecodecamp.org/t/error-message-tribute-page/308745/2 "2019-08-24T13:51:48Z")

</div>

I think what’s happening is that the test can’t find what it needs to. The instructions say:

> User Story #3: I should see a div element with a corresponding id=“img-div”.

I look in your code and see this:

```auto
<figure id="img-div">

```

That is a `figure`, not a `div`.

And the instructions also say:

> User Story #4:\*\* Within the `img-div` element, I should see an `img` element with a corresponding `id="image"` .

```auto
<img class="img" src="https://www.aauw.org/files/2016/05/MarvaCollins-with-Students-in-1980-600x320.jpg" alt="Marva Collin consoling student in the classroom of the Westside Preparatory Academy">

```

I don’t see the correct ID there.

Yes, the error message isn’t as helpful it could be, but it is difficult to write tests that way.

A very important skill in web dev is paying attention to little tiny details. Nurture that skill. Read the requirements very closely.

---

<div class="post-metadata">

**Author:** ![teachandsoar](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/teachandsoar/32/122738_2.png) [@teachandsoar](https://forum.freecodecamp.org/u/teachandsoar)\
**Post date:** [August 24, 2019, 2:23pm UTC](https://forum.freecodecamp.org/t/error-message-tribute-page/308745/3 "2019-08-24T14:23:01Z")

</div>

> [@kevinSmith](#):
>
> o

Thank your very much for the clarification Kevin! I went back and fixed those details and it worked. 👍🏾😀

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 17, 2021, 9:28am UTC](https://forum.freecodecamp.org/t/error-message-tribute-page/308745/4 "2021-01-17T09:28:49Z")

</div>

Closed on January 17, 2021, 9:28am UTC


