Tribute Page - Build a Tribute Page

Tell us what’s happening:

I am stuck as to why the preview area is not showing anything regarding my code so far. Furthermore, the tests are only showing that my title and its textual content is a go (so far).

Any help would be greatly appreciated.

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <meta name="description" content="freeCodeCamp Tribute Page Project" />
  <link rel="stylesheet" href="styles.css" />
  <title id="title">Lara Croft (The Tomb Raider)<title>
</head>
<body>
  <header>
    <h1>Lara Croft (The Tomb Raider)</h1>
  </header>
  <main id="main">
    <div id="img-div">
      <img id="image" src="https://images.unsplash.com/photo-1549387040-524b5f96b8f7?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80" alt="A photo of a woman standing outside a tomb" />
      <div id="img-caption">Lara <em>loves</em> to explore tombs & the adventure that comes with it.</div>
    </div>
  </main>
  <div id="tribute-info">

  </div>
</body>
</html>
/* file: styles.css */
header {background-color: rgba(0, 0, 0, 0.03)}
  **Your browser information:**

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

Challenge: Tribute Page - Build a Tribute Page

Link to the challenge:

your title tag is not closed properly.

fix that and the preview will work

Thank you! Knew it was something so simple lol

1 Like