Learn HTML by Building a Cat Photo App - Step 36

Tell us what’s happening:
Describe your issue in detail here. Please I am finding it hard to complete this step #36.

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>
        </form>
        <form action="https://freecatphotoapp.com/submit-cat-photo"></form>

<!-- User Editable Region -->

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36

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

Link to the challenge:

you see the lines here?
The first line is the original form opening tag.
You were asked to add the action attribute there.
Please redo the step.

Please, I still do not get it—which line are you referring to?
How do I add the action attribute.
Please

Please look at my post.

I showed you exactly 3 lines of code.

The top line is the form opening tag.
The 2nd is the form closing tag.
The 3rd is your code.

You were not supposed to add that third line at all.
You were only supposed to add the action attribute to the top line (the form’s opening tag).

I am super confused by your response because you are asking me something that you clearly know how to do (your code shows that you know how to add the action attribute to the element, so the question doesn’t make sense to me)

I was following the steps, and I thought the first line and second line were different from the form action line. Thanks for the help, I really appreciate

1 Like

I do that as well and I still get an error

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