Learn HTML by Building a Cat Photo App - Step 36

Tell us what’s happening:
Describe your issue in detail here.
Anytime I run the code at step 36, I get the feedback which reads, “Your form element does not have an action attribute. Check that there is a space after the opening tag’s name and/or there are spaces before all attribute names”. Any help please?
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/submit-cat-photo"></form> 
        </form>
      </section>
    </main>
  </body>
</html>

Your mobile information:

TECNO BC2c - Android 10 - Android SDK 29

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

Link to the challenge:

Your issue is that you have a form nested inside another form

You should only have one form on the page.
Not two.

Hope that helps

Also, once you fix that issue you need to make sure you are using the correct url from the directions here

Add an action attribute with the value https://freecatphotoapp.com/submit-cat-photo to the form element.

Then it should pass

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