Learn HTML by Building a Cat Photo App - Step 36

Tell us what’s happening:
Describe your issue in detail here.
Hello, I am very confused on how I should be correctly doing this. Ive tried different ways but unfortunately nothing worked.

Your code so far

        <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>
        <h2>Cat Lists</h2>
        <h3>Things cats love:</h3>
          <li>cat nip</li>
          <li>laser pointers</li>
          <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>  
        <h3>Top 3 things cats hate:</h3>
          <li>flea treatment</li>
          <li>other cats</li>
          <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>  
        <h2>Cat Form</h2>
        <form> action="https://freecatphotoapp.com/submit-cat-photo

Your browser information:

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

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

Link to the challenge:

all attributes must be defined inside an HTML tag
In this case you need to put the action attribute inside the form’s opening tag

HTML to format <action=“Thank You message for Cat Photo App form submission| freeCodeCamp.org”>

Its still not working

You are not understanding what an attribute is.
An attribute is not an element.
So if you write <form></form> this is a form element.
But an attribute is something you write inside the opening tag.
Think about what you learned for example about anchor elements.
<a href="something"></a>
The href attribute is inside the opening tag of the anchor tag, correct?

Same here. The action -attribute- is to be written inside the opening tag of the form tag.
That is the rule -always-.

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