Not working the <form action not working

Not working the <form action not working
0

Tell us what’s happening:
The form
<form action="submit-cat-photo"></form>

It is not working

We are going to actually need to see your code and the link to the challenge to be able to help.

<h2>CatPhotoApp</h2>

<main>

  <p>Click here to view more <a href="#">cat photos</a>.</p>

  <a href="#"><img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>

  <p>Things cats love:</p>

  <ul>

    <li>cat nip</li>

    <li>laser pointers</li>

    <li>lasagna</li>

  </ul>

  <p>Top 3 things cats hate:</p>

  <ol>

    <li>flea treatment</li>

    <li>thunder</li>

    <li>other cats</li>

  </ol>

  <form action="/submit-cat-photo"></form>

  <input type="text" placeholder="cat photo URL">

</main>

Your text input element should be nested within a form element.

Passed

Your form should have an action attribute which is set to /submit-cat-photo

Your form element should have well-formed open and close tags.

Please use the </> button to wrap your code in ``` backticks so that we can see it.

Your form element should have well-formed open and close tags.

I did this and closed it. This is the code at the start and I added this, but no go.

<input type="text" placeholder="cat photo URL">   /*(start)*/

<form action="/submit-cat-photo"></form>  /* (added code)*/
<input type="text" placeholder="cat photo URL"
</main>

// running tests Your text input element should be nested within a

form

element. // tests completed

Okay I will do.
Thank you very much, however it is still not working. I have reset it many times. This also happened on ordered list. I knew the code was correct but still did not work. I tried it again the next day, today and it worked brilliantly.

Now, I am moving into the next lesson for button.
the code is below. It is say, Your form should have a button inside it.

 <h2>CatPhotoApp</h2>
<main> 
 <p>Click here to view more <a href="#">cat photos</a>.</p> 

 <a href="#"><img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a> 
 button type="submit">submit</button> 
  p>Things cats love:</p> 

  <ul>
    <li>cat nip</li>
    <li>laser pointers</li>
    <li>lasagna</li>
  </ul>
  <p>Top 3 things cats hate:</p>
  <ol>
    <li>flea treatment</li>
    <li>thunder</li>
    <li>other cats</li>
  </ol>
  <form action="/submit-cat-photo">
    <input type="text" placeholder="cat photo URL">
  </form>
</main>

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

Please use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks are not single quotes.

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

Please use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks are not single quotes.