Am stuck in this area need some help

Tell us what’s happening:

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://freecatphoto.com/submit-cat-photo"
>
 <input type="text" placeholder="cat photo URL">
 </form>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; SM-T295) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36.

Challenge: Create a Form Element

Link to the challenge:

There is an extra / slash in the action url. Also url is incorrect.

Change this,

<form action="/https://freecatphoto.com/submit-cat-photo">

to

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

Tell us what’s happening:

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://freephotoapp.com/submit-cat-photo">

<input type="text" placeholder="cat photo URL">
</form>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; SM-T295) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36.

Challenge: Create a Form Element

Link to the challenge:

action url is incorrect in your code.

Change this,

<form action="https://freephotoapp.com/submit-cat-photo">

to

<form action="https://freecatphotoapp.com/submit-cat-photo">
2 Likes

your action value ( url ) is incorrect…
check it in the question and change it . it works