HTML Tribute Project Help

I typed this code into a pen and ran the test for the Tribute Page, but it failed the first test. I don’t know what I’m doing wrong.

<!DOCTYPE html>
<html lang="en" dir="ltr">
    <meta charset="utf-8">
    <title>Tribute to Martin Luther King Jr.</title>
<h1 id="title">Rev. Dr. Martin Luther King Jr.</h1>
<p>Civil Rights Leader and Nobel Peace Prize Laureate</p>
      Martin Luther King Jr. was born in Atlanta, Georgia.
      <figure id="img-div">
      alt="Martin Luther King Jr."
    <figcaption id="img-caption">
          Dr. Martin Luther King Jr.

I have now figured it out. My final project is available at

Hi RexRode,
Could you provide us a link to your specific pen?

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.

See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.

Note: Backticks are not single quotes.


I’ve just done the outline for this, one of your tags is missing an attribute the user stories/spec are asking for. I did something similar. This is my first time replying so i’m not sure whether to just hint or state what the issue is.

1 Like

By the way, how do I open the test suite on Codepen? I tried opening my Codepen in this link and then running the test suite, but how do I open a test suite in my own Codepen?

I will do that in the future.

@RexRode, keep the test script when forking the pen (<script src=""></script>). Cut & paste this into the HTML section.

As an aside, codepen only requires the code you’d put within the <body> </body> tags in HTML. (No need to include the body tags). For anything you want to add to <head> click on the ‘Settings’ button, then HTML and add it into the ‘Stuff for <head>’ box.

Hi @pmhofmann, welcome to the forum.
I don’t think there are such specific rules for how to answer. I would say trust your gut in what would be most helpful to each individual.