Learn HTML by Building a Cat Photo App - Step 36

How do I go about the form element and the action attribute. Do I input the URL after the action attribute?

Your code so far

<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>
<form action="/submit-https://freecatphotoapp.com></forms> 
        </form>
      </section>
    </main>
  </body>
</html>

Your mobile information:

iPhone - iOS17.1.1

Challenge: Learn HTML by Building a Cat Photo App - Step 36

Link to the challenge:

Yes you should put the URL after the equal sign to the right of the word action but it should be in quotes. (Make sure you put the closing quotes too)

1 Like

Hello discourse forum

Hello @hbar1st tagging you here let me know if you get a notification

please don’t spam other people’s posts!!!

There is no forms element, delete this closing tag and you should pass

1 Like

also in addition to the comment above, you have an extra <form> also here:


        <h2>Cat Form</h2>
        <form>