Create a Form Element /

im not able to solve
any solution ??

  **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://www.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"<input type="text" placeholder="cat photo URL">
</form>

</main>

Challenge: Create a Form Element

Hi @chiirag !

I have edited your post to include the challenge link.
Whenever you ask for help on the forum, please include both your code and the challenge link.


There are two issues

No.1
This link is incorrect.

Here is the correct link.
assign "https://www.freecatphotoapp.com/submit-cat-photo" to the action attribute

No.2
You are missing a > at the end of your opening form tag.

Hope that helps!

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