Descendant Of #Main?

The issue : " Your #img-div , #image , #img-caption , #tribute-info , and #tribute-link should all be descendants of #main "

Seems like I cannot surpass this issue?
My code :

<html>
    <head>
        <title>
            A Tribute To Lilith
        </title>
       
        <link rel="stylesheet" href="styles.css">
        <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
    </head>
    <body>
         <main id="main"></main>
            <h1 id="title"> Lilith Bride of Satan </h1>
            <h2 id="subtitle"> First Bride </h2>
            <div id="img-div">
                <img id="image"
                <img src="https://www.biblicalarchaeology.org/wp-content/uploads/2012/09/lilith-2.jpg"id="image" alt=lilith class="center">
    <figcaption id="img-caption"><em>Lilith's Picture Via Wikipedia</em></figcaption>

                 
<p id="img-caption">Lilith</p>
            </div>
            <div id="content">
            <div id="tribute-info"><p>Lilith

I’ve edited your code 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 (').

You don’t have anything inside these main tags here

That is why you are not passing tests.

The main element represents the main content of your web page

Hope that helps!

Also, I would suggest using an html formatter because it will help you spot errors and debug your code easier

Thank you Ma’am , it was a just a minor hiccup, Yikes ! .

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