Learn Responsive Web Dev Stuck on step 26

Instructed to ad ordered list after h3 in second section, line 28. I don’t understand why its not accepting my code.

 *<figcaption>Cats <em>love</em> lasagna.</figcaption>  *
*      </figure>*
*      <h3>Top 3 things cats hate:</h3>*
*      <ol>*
*         <li>flea treatment</li>*
*         <li>thunder</li>*
*         <li>othercats</li>*
*      </ol>*
  **Your code so far**

<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <section>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>
      <a href="https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
    </section>
    <section>
      <h2>Cat Lists</h2>
      <h3>Things cats love:</h3>
      <ul>
        <li>cat nip</li>
        <li>laser pointers</li>
        <li>lasagna</li>
      </ul>
      <figure>
        <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/lasagna.jpg" alt="A slice of lasagna on a plate.">
        <figcaption>Cats <em>love</em> lasagna.</figcaption>  
      </figure>
      <h3>Top 3 things cats hate:</h3>
      <ol>
         <li>flea treatment</li>
         <li>thunder</li>
         <li>othercats</li>
      </ol>
       
    </section>
  </main>

</body>
</html>
  **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.67 Safari/537.36

Challenge: Step 26

Link to the challenge:

read again, maybe typo :wink:

1 Like

Second time today that I couldn’t find it right away. I think the problem this time was being focused on the code and not the string. I feel like that’s not that bad, but I’m losing at least 15-20 minutes and a decent amount of mental endurance on each one.

you will get used to it. Before you ask for help, you will read a few times first. that is a larning curve

1 Like

For other folks in the same situation. I missed a space on the last item othercats==other cats. I had to walk away twice and calm down. The first time I was positive it was code, and rearranged everything like four times. I walked away again at that point, came and looked at each word.

Taking a moment can save you an hour sometimes.

Same here. In the beginning, 1-2 hours a day every day is a better choice. in few weeks/mounts you will be great :raised_hands:

1 Like

welcome to being a programmer

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