"Basic HTML and HTML5: Create a Form Element"

Tell us what’s happening:
Hello There! I have got stuck in this exercise. I’ve read the hint already and watched the video. Actually, wasn’t supposed to have this kind of error in the exercise, once that I double-checked and looks the same as the video.
Please, somebody, help me to proceed!

Thanks in advance!

C.B.

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="/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/72.0.3626.121 Safari/537.36.

Challenge: Create a Form Element

Link to the challenge:

This is what error message says:
Your form should have an action attribute which is set to https://freecatphotoapp.com/submit-cat-photo

I’d check the action attribute again :wink:

1 Like

Hello sitek94!

Many thanks for your advice but, I re-checked again and I am still in the same situation. Maybe is some bug though!

Hi!

Would you please post what you re-checked again? Only the instruction concerned NOT the whole code! Thanks!

Hi Rielka!

This was the exercise below.

Thanks

Hi again,

This is the challenge question:

Nest your text field inside a form element, and ADD the

action=“https://freecatphotoapp.com/submit-cat-photo

attribute to the form element.

You have not changed what @sitek94 has recommended you.

Replace the action in your code with that one!

Hi Rielka!

Thanks a lot! You really saved my life! I really appreciate that! :blush:

C.B.

1 Like