Create a Form Element(NEW)

Create a Form Element(NEW)
0

#1

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


#2

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!


#3

i still don’t get it


#4

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.


#5

bless you man! i got it


#6

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.


#7

You’re welcome! Happy to help!


#8

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


#9

Thank you…i will do that


#10

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