Adding image in the tribute page

Hi! my image is not showing in the preview. Can you help me to solve this issue?

You need to give more info maybe someone maybe able to help

Hi! thanks.

I wrote code this way

img id="image"
          src="https://upload.wikimedia.org/wikipedia/commons/1/1d/LRB_Ayub_Bachchu.jpg"
          alt="---" />

unfortunately, the image isn’t displaying in the previewPreformatted text

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 (’).

You are missing a < at the beginning of your img tag.

<figure id="img-div"
          img id="image"
          src="https://upload.wikimedia.org/wikipedia/commons/1/1d/LRB_Ayub_Bachchu.jpg"
          alt="......." />
<figcaption id="img-caption">
    Ayub Bachchu is on stage
  </figcaption>
  </figure>

You need to add the > at the end of your opening figure tag here

and you need to add the < at the beginning of your img tag.

Great! Thanks. It’s alright now.

Hi is there any mistake here? Logo isn’t previewing when I was making landing page. I want to add image from computer.

   <div class="logo">
  <img id="header-img"
       src="file:///Users/koushikdey/Desktop/Coding%20projects/Blizzard-logo-1-page-001_11zon.png" alt="Blizzard Logo"
 />
</div>
´´´

Your computer is not a server so codepen cannot find your image.

Search and you will find resources where you can store your image for free. Or if you know how, you can put the image on GitHub.

Hi! can you help me to replace (Features, How it works and Products) top right of the page? Possibly same line with logo. Here goes below the error
#nav-bar is not a child of #header : expected 0 to equal 1
AssertionError: #nav-bar is not a child of #header : expected 0 to equal 1

Thanks.

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