Learn HTML by Building a Cat Photo App - Step 36

Tell us what’s happening:
Please help! he hint is : "Your form element should have an action attribute with the value https://freecatphotoapp.com/submit-cat-photo.

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>

<!-- User Editable Region -->

     <form action="/submit-https:freecatphotoapp.com/submit-cat-photo"></form>
      

<!-- User Editable Region -->

      </section>
    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:109.0) Gecko/20100101 Firefox/109.0

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

Link to the challenge:

It looks like your action attribute is not set to the required value. It must be character-for-character identical to the instructions.

I’m still confused. It looks identical to the instructions to me, so I don’t understand where I am going wrong

These two look totally identical to you?

They look very different to me!

You are right :slight_smile: I’ve been fighting this for hours.

This is my new code and it still isn’t working.

<form action="/submit-https://freecatphotoapp.com/submit-cat-photo">
    </form>

“action” is in red, like it is a mistake. The action attribute is the "/submit-url, correct?

I would literally copy-paste the exact value you are given. You still are not using exactly and only the required value.

I am copy/pasting. Is there a space in there somewhere that I’m not seeing?

Where is this in the value you are supposed to copy-paste?

Oh my goodness. Thank you so much.

Submit was part of the example , so I was confused. Thank you again :slight_smile:

1 Like

HI @aliciadworek ,
The problem is with your web address. You don’t have to put /submit-url part; Just place the WEB ADDRESS (begins with https://…)
The idea here is, that the form data is submitted(send) to the given web address.

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