# Help! \<Img\> element and tribute page

**URL:** <https://forum.freecodecamp.org/t/help-img-element-and-tribute-page/437664>\
**Category:** I Built This\
**Created:** [December 28, 2020, 6:03pm UTC](https://forum.freecodecamp.org/t/help-img-element-and-tribute-page/437664 "2020-12-28T18:03:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dotdashhenry](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/dotdashhenry/32/202816_2.png) [@dotdashhenry](https://forum.freecodecamp.org/u/dotdashhenry)\
**Post date:** [December 28, 2020, 6:03pm UTC](https://forum.freecodecamp.org/t/help-img-element-and-tribute-page/437664/1 "2020-12-28T18:03:35Z")

</div>

Hello,

I have been playing about with my tribute page and was getting 10/10 for the tests.  
But now I have messed about it with so much I have confused myself and am now unable to remedy this part of the test:

1. The ![]() element should be centered within its parent element.

Here is a link to my tribute page:

[https://codepen.io/dotdashdon/pen/abmVjRv](https://codepen.io/dotdashdon/pen/abmVjRv)

I would appreciate any feedback on this or any other errors I may have made but doesnt show in the test.

Thank you ever so much!  
dotdashdon

---

<div class="post-metadata">

**Author:** ![MrBondx](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/mrbondx/32/205219_2.png) [@MrBondx](https://forum.freecodecamp.org/u/MrBondx)\
**Post date:** [December 28, 2020, 6:15pm UTC](https://forum.freecodecamp.org/t/help-img-element-and-tribute-page/437664/2 "2020-12-28T18:15:09Z")

</div>

Hi @dotdashhenry:  
You’ve styled your image to 400%, that maybe way too much, why not 100%?

---

<div class="post-metadata">

**Author:** ![dotdashhenry](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/dotdashhenry/32/202816_2.png) [@dotdashhenry](https://forum.freecodecamp.org/u/dotdashhenry)\
**Post date:** [December 28, 2020, 6:21pm UTC](https://forum.freecodecamp.org/t/help-img-element-and-tribute-page/437664/3 "2020-12-28T18:21:44Z")

</div>

Oh yes that has worked! Thank you so much MrBondx.  
I did want a larger image though but will settle for this if it means I  
can pass the test.

Anyone else make more than one tribute page so can practice a bit more?  
I think I need to…

---

<div class="post-metadata">

**Author:** ![Roma](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/roma/32/112899_2.png) [@Roma](https://forum.freecodecamp.org/u/Roma)\
**Post date:** [December 28, 2020, 7:12pm UTC](https://forum.freecodecamp.org/t/help-img-element-and-tribute-page/437664/4 "2020-12-28T19:12:13Z")

</div>

Welcome to the forums @dotdashhenry. Your page looks good. Something to revisit;

- Codepen provides the boilerplate for you. It only expects the code you’d put within the `body` element in HTML. (No need to include the `body` tags). For anything you want to add to the `<head>` element click on the ‘Settings’ button, then HTML and add it into the ‘Stuff for \<head\>’ box.
- Run your HTML code through the [W3C validator](https://validator.w3.org/#validate_by_input).
  - There are HTML coding errors you should be aware of and address.
  - Since copy/paste from codepen you can ignore the first warning and first two errors.

- Run your CSS code through the [validator](https://jigsaw.w3.org/css-validator/#validate_by_input).
  - There are CSS coding errors you should be aware of and address.

> [@dotdashhenry](#):
>
> Anyone else make more than one tribute page so can practice a bit more?

You can make as many tribute pages as you’d like. You only need to submit one with all the tests passing.  
So you can make another one that has all the tests passing or you can make another where only some of the tests pass.

Edit: On a side note please verify your email addr with codepen so we can see you page full view.

---

<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:** [June 1, 2021, 1:07pm UTC](https://forum.freecodecamp.org/t/help-img-element-and-tribute-page/437664/6 "2021-06-01T13:07:14Z")

</div>

Closed on June 1, 2021, 1:07pm UTC


