i cant run the test

Tell us what’s happening:

   **Your code so far**

<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>
   <input type="text" placeholder="cat photo URL">
 <form action:"https://freecatphotoapp.com/submit-cat-photo">
 <input>
</form>
</main>
   **Your browser information:**

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

Challenge: Create a Form Element

Link to the challenge:

what do you mean that you can’t run the tests?
what appear in the console when you press Run the Tests?

Your

form

should have an

action

attribute which is set to

https://freecatphotoapp.com/submit-cat-photo

this

i cant run the test they put me a failure in this step

you are running the tests correctly, they are saying though that you need more work to pass them

so, let’s take a look of what they say

Your form should have an action attribute which is set to https://freecatphotoapp.com/submit-cat-photo

you have this, there is a syntax error, you assign a value to an attribute with = not :
also, you have two opening <form> tags, you only need one
you also have two <input> tags, you only need one

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