How do i solve this one :(

Tell us what’s happening:
Describe your issue in detail here.

  **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>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</type>
      </form>
    </section>
  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36

Challenge: Step 37

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

your text element has too many closings, you can just put the type = “” next to the input without enclosing it

What exactly do you mean by ‘without enclosing it’, because the attribute and value need to be inside of the opening input tag.

im sorry :sweat_smile: im not sure how to input values into the input element, i’ve tried but it keeps on saying there can be not more than 1 elements in between form element. mind my english

aaaa thank you! i’ll try that

adding the type attribute with the value text

Lets look at some other places where you have added attributes to a tag:

This tag has src and alt attributes.

This tag has an href attribute

1 Like

thank you for explaining it better than i ever could lol, I’m relatively new myself and not super sure on all the lingo quite yet.

1 Like

now i see it :sweat_smile: btw i’m 22, planning on taking a full course of computer science. im just trying get into the basics before i go to a proper class so that i know some. you guys have been so helpful. will absolutely recommend this site to my friends!

1 Like

We all start somewhere! It definitely takes time to get used to the lingo, but the lingo definitely helps us say exactly what we mean!

2 Likes

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