I am struggling with the form element part

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

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

Challenge: Create a Form Element

Link to the challenge:

These are the instructions:
Your form should have an action attribute which is set to

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

This is the bit of your code that is failing:

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

look carefully at both … you’ll see the problem!

.

form action=“Thank You message for Cat Photo App form submission| freeCodeCamp.org

input type=“text” placeholder=“cat photo URL”

/form

this is the code i’m using now, but is not working.

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

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

Challenge: Create a Form Element

Link to the challenge:

I’ve tested your code and it’s working perfectly fine on my browser. It could be just a bug, maybe try to reset the challenge and do a hard refresh (Shift + F5), or try to disable browser extensions that could be modifying the content of the page if you have them on because they can also interfere with the tests.

1 Like

It could be what was said above. I couldnt scroll down, so my first reply was wrong. I actually tried the test myself and it failed for me as well

Edit: I tried it with the same code, and this time it passed. I just had to refresh, and it worked for some reason