Error code 40 or the site not working?

Tell us what’s happening:
Hello guys,

First post, so hope I’m doing this correctly.

The last part of mycode, where I’m to embed an input within a form element, it’s seems to me that the checker or qualifier frame doesnt want to accept the input.

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

Which I would think that I have, looking at my code below :confused:

What the heck am I doing wrong? :joy:

Found the error, It was a code 40 :smiley:

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

</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15

Challenge: Create a Form Element

Link to the challenge:

just nest input with the link assigned Thank You message for Cat Photo App form submission| freeCodeCamp.org

This is a wrong link. You need to remove / before http, and it is not http, it should be https. Copy the given link in the challenge or this:
https://www.freecatphotoapp.com/submit-cat-photo

1 Like

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