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
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!
2 Likes
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
2 Likes
Thank you for your help! I will correct my code.