Help Tribute page FreeCodeCamp

Hi, I’m just starting with my tribute page but nothing is being accepted by the test. I’ve done the first few #general #. Se here:

Well, the way you wrote it here you failed to close the opening tags of the elements. It would be great to see your code online so it can be properly evaluated.

Your first div element must have a closing tag, as well as including a closing div element after your image element. Here’s what it should look like:

<div id="img-div">
    <img id="image">
</div>

Image elements are self-closing, so do not need a closing element.

https://codepen.io/FikaKarin/pen/mdRXPBL

https://codepen.io/FikaKarin/pen/mdRXPBL

My whole code doesn’t seem to show in my post… could you check my page?

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

Hi @mailtolundqvist !

Welcome to the forum!

A few things.

You can’t create your own html tags.
This is incorrect

  <Hankimg id="img-div">

It needs to be a div element like this

  <div id="img-div">
       
  </div>

As mentioned earlier, you need to close out this img tag like this

  <div id="img-div">
       <img id="image">
  </div>

Once you make those changes, you should be up to 6/10 passing tests.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.