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">
  <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>
    <h1>Lara Croft (The Tomb Raider)</h1>
  <main id="main">
    <div id="img-div">
      <img id="image" src="" 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 id="tribute-info">

/* 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/ 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

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