Tribute Page of Anne Frank

Anne Frank - The Diary of a Young Girl

I’m stuck on section 5 which essentially tells me " Within the img-div element, I should see an element with a corresponding id="img-caption" that contains textual content describing the image shown in img-div ." i can’t seem to figure out what’s wrong with my setup unless I missed something small?

<h1 id="title"> Anne Frank - The Diary of a Young Girl</h1>
  <div id="img-div"> 
    <img id="image" "I had a link added in this section" width="40%">
    <img id="img-caption" Picture of Anne Frank>

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

Test no.5 says to use either a div or figcaption element.

Not another img tag.

I would use a div element with the id of img-caption.

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