Where did i go wrong?

Where did i go wrong?
0

#1

Tell us what’s happening:
it says to nest the text input within a form element. as far as i can tell this is what ive done but it says that it is wrong. what did i do wrong?

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; rv:61.0) Gecko/20100101 Firefox/61.0.

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


#2

you have a closing bracket error on the line <form action="/submit-cat-photo"


#3

I changed it to this:

(<)form action="/submit-cat-photo">
<input type=“text” placeholder=“cat photo URL”(>)
and it says to make sure my form element has well-formed open and close tags still… I guess I am just having a hard time with the close tag placement? I have tried it many ways and i just don’t see where i went wrong this time. obviously without the parentheses in the open and close i just have to do that or the code wont show up…


#4

I figured it out thanks for the help