It keeps saying i have'nt added 5 code elements in my .main-section

Tell us what’s happening:

Your code so far


The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

    <link rel="stylesheet" href="styles.css"/>
    <nav id="navbar">
     <header><h1 class="heading"> Marijuana </h1></header>
     <a class="nav-link" href="#What_is_Marijuana">What is Marijuana</a>
     <a class="nav-link" href="#Strength_and_potency">Strength and Potency</a>
     <a class="nav-link" href="#Marijuana_extracts">Marijuana Extracts </a>
     <a class="nav-link" href="#How_is_Marijuana_used">How is Marijuana used</a>
     <a class="nav-link" href="#What_happens_to_your_body_when_you_use_marijuana">What happens to your body when you use marijuana</a>
  <main id="main-doc">
    <section class="main-section" id="What_is_Marijuana">
     <header > <h3> What is Marijuana </h3></header>
      <p >
        Marijuana is the dried leaves and flowers of the <i> Cannabis sativa</i> or <i>Cannabis indica</i> plant. Stronger forms of the drug include high potency strains - known as sinsemilla (sin-seh-me-yah), hashish (hash for short), and extracts.
      <p>Of the more than 500 chemicals in marijuana, <i>delta-9-tetrahydrocannabinol</i>, known as THC, is responsible for many of the drug’s psychotropic (mind-altering) effects. It’s this chemical that distorts how the mind perceives the world. In other words, it's what makes a person high.</p>
    <section class="main-section" id="Strength_and_potency">
      <header > <h3> Strength and Potency </h3></header>
      <p >
        The amount of THC in marijuana has increased over the past few decades. In the early 1990s, the average THC content in marijuana was less than 4 percent. It is now about 15 percent and much higher in some products such as oils and other extracts (see below). Scientists do not yet know what this increase in potency means for a person’s health.
      <p>Some people adjust how they consume marijuana (by smoking or eating less) to compensate for the greater potency. There have been reports of people seeking help in emergency rooms with symptoms, including nervousness, shaking and psychosis (having false thoughts or seeing or hearing things that aren't there), after consuming high concentrations of THC. </p>
    <section class="main-section" id="Marijuana_extracts">
      <header > <h3>Marijuana Extracts </h3></header>
      <p >
        Smoking extracts and resins from the marijuana plant with high levels of THC is on the rise. There are several forms of these extracts. These resins have 3 to 5 times more THC than the plant itself.
      <p>Smoking or vaping it (also called dabbing) can deliver dangerous amounts of THC and has led some people to seek treatment in the emergency room. There have also been reports of people injured in fires and explosions caused by attempts to extract hash oil from marijuana leaves using butane (lighter fluid).</p>
    <section class="main-section" id="How_is_Marijuana_used">
      <header > <h3> How is Marijuana used </h3></header>
      <article><p >
       There are a few different ways people use marijuana:
        <li>Smoking hand-rolled cigarettes called joints or marijuana cigars called blunts (often made by slicing open cigars and replacing some or all of the tobacco with marijuana)</li>
        <li> Inhaling smoke using glass pipes or water pipes called bongs</li>
        <li>Inhaling vapor using devices that pull the active ingredients (including THC) from the marijuana into the vapor. Some vaporizers use a marijuana liquid extract. </li>
        <li>Drinking tea brewed with marijuana or eating food with marijuana cooked into it, sometimes called edibles—such as brownies, cookies, or candy.</li>
        <li> Chewing raw</li>
    <section class="main-section" id="What_happens_to_your_body_when_you_use_marijuana">
      <header > <h3> What happens to your body when you use marijuana </h3></header>
      <p >
        Within a few minutes after inhaling marijuana smoke, a person’s heart rate speeds up, the bronchial passages (the pipes that let air in and out of your lungs) relax and become enlarged, and blood vessels in the eyes expand, making the eyes look red. While these and other effects seem harmless, they can take a toll on the body.
      <p>These extracts made from the marijuana plant should not be confused with “synthetic marijuana,” sometimes called “K2,” “Spice,” or “herbal incense.” These synthetic drugs are laboratory-made chemicals similar to THC that are sprayed onto plant materials to make it look like marijuana, but are often much stronger and very dangerous. Unlike marijuana, their use sometimes directly results in overdose deaths. Learn more about "synthetic marijuana”.</p>

Your browser information:

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

Challenge: Build a Technical Documentation Page

Link to the challenge:

HI @nafisafaruna !

Welcome to the forum!

I wasn’t able to spot any code elements in your code.

This is the code element they are talking about

1 Like

Thank you so much. But since I’m not doing a code documentation why is it a requirement?

The original idea for this project was to build it on a technical topic like javascript, css, or html.

That is why the test is there

Alright thank you for the replies

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