Create a Form Element(NEW)

Tell us what’s happening:

Guys pls help, i am getting “add attribute; action=”/submit-cat-photo" each time i try to submit."

Your code so far


<h2>CatPhotoApp</h2> 
<form action="/submit-cat-phot"></form>
<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/68.0.3440.84 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/create-a-form-element

I see your mistake. It is very small, but look closely at the attributes within the input tag ;). Once you fix that, you should be good to go!

1 Like

i still don’t get it

My suggestion would be to reset all your code, and redo your form tag+. You are 99.9% there, but just have a simple typo.

1 Like

bless you man! i got it

1 Like

There’s actually two things wrong, so resetting your code would still be a good idea. It seems that maybe you misunderstood the challenge, but then realized what you had to do, and forgot to clean up your old code.

1 Like

You’re welcome! Happy to help!

I guess the case is solved… Please kindly add “Solved” in your topic if you don’t mind.

Thank you…i will do that

problem #SOLVED# had to reset the code and recode. thaks to addisonday

1 Like