Don't know how to put an action attribute

Tell us what’s happening: Your form should have an action attribute which is set to https://freecatphotoapp.com/submit-cat-photo

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://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="/https://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/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36.

Challenge: Create a Form Element

Link to the challenge:

You have a typo in the action attribute. You were asked to use;
"https://freecatphotoapp.com/submit-cat-photo"

Do you see the extraneous backslash you have?

What I’m doing wrong ?

Why is this here when it is not in the original url provided for you?

1 Like

My god!! Thanks.
It was in the example, so I think i had to put it.