HELP: You should have at least five code elements that are descendants of .main-section elements. It says everything else is correct

<!DOCTYPE html>
<html lang="en">
  <link rel="stylesheet" href="styles.css">
  <body>
    <nav id="navbar">
      <header>Documentation Navigation</header>
      <a class="nav-link" href="#Me">Me</a>
      <a class="nav-link" href="#Countries_I_have_lived_in:">Countries I have lived in:</a>
      <a class="nav-link" href="#Family">Family</a>
      <a class="nav-link" href="#Pets">Pets</a>
      <a class="nav-link" href="#Languages">Languages</a>
    </nav>
  <main id="main-doc">
    <section class="main-section" id="Me">
      <header>Me</header>
      <h1>Welcome to my profile</h1>
<p>I'm Ines, a student passionate about Business and Economics.</p>
<div class="bio">
    <p>I am a passionate coder and a web enthusiast.<p>
  </div>
      <p class="me">Born in Buenos Aires, Argentina, I am a Business and Economics student at the University of Bologna in Italy. My dedication and commitment to my studies have enabled me to build a solid foundation of theoretical and practical knowledge in areas such as financial analysis and market trends.</p>
      <p class="me">I possess a strong aptitude for rapid learning. I derive satisfaction from tackling new challenges and acquiring fresh insights, a quality that has facilitated my seamless adaptation to dynamic and intricate environments.</p>
      <code>
        <img src="https://civiliansinconflict.org/wp-content/uploads/2017/09/female-silhouette.jpg" alt="silouhette">
        </code>
    </section>
    <section class="main-section" id="Countries_I_have_lived_in:">
      <header>Countries I have lived in:</header>
      <p>In order</p>
      <ul>
        <li>Argentina</li>
        <li>Switzerland</li>
        <li>France</li>
        <li>Panama</li>
        <li>United States of America</li>
        <li>Italy</li>
      </ul>
      <p>I was born in Argentina</p>
      <img src="https://www.worldatlas.com/upload/f4/e0/49/shutterstock-1665254809.png">
    </section>
    <section class="main-section" id="Family">
      <header>Family</header>
      <p> I have two parents and three sisters.</p>
      <p>They are also all from argentina.</p>
      <p>I am the oldest sister, and the youngest two are twins.</p>
      <p>The one that is one year younger than me is studying in Boston</p>
      <p>We are all girls, no boys!</p>
    </section>
    <section class="main-section" id="Pets">
      <header>Pets</header>
      <p>I currently have two dogs. This is what they look like:</p>
      <img src="https://www.thesprucepets.com/thmb/elvgyaVqWMxy4DRQoOVCkIauK2E=/7952x0/filters:no_upscale():strip_icc()/two-dogs-are-better-than-one-4174508-hero-01-de57c97f47544006b447807060ff5184.jpg">
      <p>The big one is Indy, the little one is Gau</p>
      <p>They like to play together</p>
      <p>Indy is a rescue</p>
      <p>Gau is a poodle</p>
    </section>
    <section class="main-section" id="Languages">
      <header>Languages</header>
      <p>Fluent:</p>
      <ul>
        <li>Spansh</li>
        <li>English</li>
        <li>French</li>
      </ul>
      <p>Intermediate:</p>
      <ul>
        <li>Italian</li>
      </ul>
     <p>Beginner</p>
     <ul>
       <li>Brazilian Portuguese</li>
       <li>Mandarin</li>
       <code>
       <img src="https://www.snexplores.org/wp-content/uploads/2023/05/1440_LL_language_feat.jpg" alt="image of languages">
       </code>
     </ul>
    </section>
  </header>
  </main>
  </body>
</html>```

Please link to the challenge step.


If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

How many code elements do you have? I think I only see two.

I ended up putting five images total and wrapped them inside a and it worked!

Well, that does allow you to pass the test but that’s not really how the code element is intended to be used. It is supposed to be use to display actual code on the page (such as HTML, CSS).

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