Challenge create form element

Tell us what’s happening:
Describe your issue in detail here.

   **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://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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 type "action"="/submit-cat-photo">
   <input type="text" placeholder="cat photo URL">
   
<button type="submit">Submit<</button>
 </form>
</main>
   **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 9; SAMSUNG SM-S767VL) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/14.2 Chrome/87.0.4280.141 Mobile Safari/537.36

Challenge: Add a Submit Button to a Form

Link to the challenge:

First of all, please get in the habit of describing your problem, instead of leaving us a scavenger hunt.

Part of being a good dev is being a good detective, figuring out what is wrong.

I see that this test if failing:

Your submit button should only have the text Submit.

I look at your submit button and see this:

Screen Shot 2021-10-30 at 10.31.36 AM

So, the failing test is correct - it does not have “Submit”, it has “Submit<”.

When I look at your code, I see the reason:

<button type="submit">Submit<</button>

You have to be a good detective, follow the clues.

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