# Tribute page problem \<main id \> problem

**URL:** <https://forum.freecodecamp.org/t/tribute-page-problem-main-id-problem/369019>\
**Category:** General\
**Created:** [April 6, 2020, 4:13pm UTC](https://forum.freecodecamp.org/t/tribute-page-problem-main-id-problem/369019 "2020-04-06T16:13:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![KlemenM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/klemenm/32/141175_2.png) [@KlemenM](https://forum.freecodecamp.org/u/KlemenM)\
**Post date:** [April 6, 2020, 4:13pm UTC](https://forum.freecodecamp.org/t/tribute-page-problem-main-id-problem/369019/1 "2020-04-06T16:13:28Z")

</div>

I have some problem with my tribute page. Test say there is one error left but i dont know how to fix it.  
I have in the code.  
[https://codepen.io/Klemen90/pen/oNXrRGB](https://codepen.io/Klemen90/pen/oNXrRGB)

---

<div class="post-metadata">

**Author:** ![Andreea2](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/andreea2/32/138658_2.png) [@Andreea2](https://forum.freecodecamp.org/u/Andreea2)\
**Post date:** [April 6, 2020, 4:22pm UTC](https://forum.freecodecamp.org/t/tribute-page-problem-main-id-problem/369019/2 "2020-04-06T16:22:51Z")

</div>

Hey!

As far as I can see, you have not:

- Declared the Doctype of the document
- enclosed everything in html tags
- not closed the div id=“main”

I have run the code with the above modifications and it passes all tests for me.

Hope it helps.  
Happy coding! 🙂

---

<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:** [April 6, 2020, 4:27pm UTC](https://forum.freecodecamp.org/t/tribute-page-problem-main-id-problem/369019/3 "2020-04-06T16:27:02Z")

</div>

> [@Andreea2](#):
>
> - Declared the Doctype of the document
> - enclosed everything in html tags

these in code pen are not necessary as codepen **expects only the content of the `body` tags inside the HTML box**

* * *

HTML syntax issues:

- line 1, the script closing tag is missing the closing `>` (once you fix that everything passes)
- line 8, the `<div id="img-div">` is missing matching closing tag

CSS syntac issues:

- line 14: `font-size= 30px;` you need to use the colon instead of equal sign

---

<div class="post-metadata">

**Author:** ![KlemenM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/klemenm/32/141175_2.png) [@KlemenM](https://forum.freecodecamp.org/u/KlemenM)\
**Post date:** [April 6, 2020, 4:34pm UTC](https://forum.freecodecamp.org/t/tribute-page-problem-main-id-problem/369019/4 "2020-04-06T16:34:55Z")

</div>

Thank you for your help! I will correct my code.

---

<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, 7:00pm UTC](https://forum.freecodecamp.org/t/tribute-page-problem-main-id-problem/369019/6 "2021-06-01T19:00:10Z")

</div>

Closed on June 1, 2021, 7:00pm UTC


