Learn HTML by Building a Cat Photo App - Step 38

I’m having troubles with this step.
I put the atribute type inside the input tag, but the tutorial tells me its wrong

Code in question:

<html>
<body>
  <main>
    <h1>CatPhotoApp</h1>
    <section>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</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>other cats</li>
      </ol>
      <figure>
        <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/cats.jpg" alt="Five cats looking around a field.">
        <figcaption>Cats <strong>hate</strong> other cats.</figcaption>  
      </figure>
    </section>
    <section>
      <h2>Cat Form</h2>
      <form action="https://freecatphotoapp.com/submit-cat-photo">
          <input type="text">
      </form>
    </section>
  </main>
</body>
</html>

Can someone tell what I’m missing?

Hello, your answer seems correct. However, your answer should be on line 37, but it is on line 42. This may be affecting the evaluation. Can you refresh the page and try to write your answer on line 37 from the beginning?

Hello, thank you for answering.
In my side, on the tutorial page appears in line 37 as you say.

If it helps, the error the tutorial shows is this one:

Your form element should only contain the input element. Remove any extra HTML elements or text between the form element’s tags.

It’s a little weird. I tried copying your whole code to see the error you got and it accepted the answer. :sweat_smile:
Screenshot 2024-02-12 213328
I’m not sure how to help.

I see, thank you.
Is probably something from my side then, will try to see if nothing in my browser is interfering

Thanks for the answers.

Edit: Turned off adblocker and reset tab, worked like a charm. I fell silly.

1 Like

Don’t be hard on yourself. I’m a beginner too, but they say there will be many moments when we will feel this way. :joy: