Create a form Element assistance

Tell us what’s happening:
OK so basically I was having trouble creating a form element and I was trying to get help. The code that is surrounded by strong text is what I was having problems with. If anyone else is having this problem please feel free to discuss and ask questions.

   **Your code so far** 

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

**
<form action="https://www.freecatphotoapp.com/submit-cat-photo"><input="text"></form>
**

 <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>
 <input type="text" placeholder="cat photo URL">
</main>
   **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0.

Challenge: Create a Form Element

Link to the challenge:

@arathgomez, the code you supplied will not pass the tests.

The first part of the instruction says Nest the existing input element inside a form element. Your code does not utilize the existing input element.
The action attribute is correct.

Please do not post solutions just to post a solution.
We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

You can post solutions that invite discussion (like asking how the solution works, or asking about certain parts of the solution). But please don’t just post your solution for the sake of sharing it.
If you post a full passing solution to a challenge and have questions about it, please surround it with [spoiler] and [/spoiler] tags on the line above and below your solution code.

Alrighty, sorry about that. Made edits to the question.

the spoiler tags would go around all of your code. All of your code is within the backtics (```) but for now that’s a moot point since the code is not correct.

The code you posted is incorrect. It will not pass the tests.
From my initial post;
The first part of the instruction says Nest the existing input element inside a form element . Your code does not utilize the existing input element.
The action attribute is correct.

EDIT: I suggest you reset the lesson and try again following the instructions carefully.

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