How to add my image into code?

Tell us what’s happening:
How do I add my image into my tribute page?
Your code so far

<main id="main">
  <h1>My Coding Journey </h1>
  <title id="title">Tribute Page</>
  <div id="img-div">
    <img src="" alt="">
  <figure id="image"></figure>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36 Edg/88.0.705.63.

Challenge: Build a Tribute Page

Link to the challenge:

The src attribute’s value should be the URL of some image, eg:

<img src="" alt="an image of something" />

Also it would seem to make sense to put the img in the <figure> tag, the tag is there to denote a figure (ie some self-contained content, like an image or a table or a video or whatever) of some kind. And if you do that, you could use a <figcaption> to caption the image, in which case you don’t need the alt attribute on the image.


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

// My image is not showing on my web page.

<main id="main">
  <h1>My Coding Journey </h1>
  <p id="title">My road to becoming a web designer</p>
  <div id="img-div">
    <img id="image" src="
 </main>type or paste code here