Create a Form Element ?///

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>
  <input type="text" placeholder="cat photo URL">
<main>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; rv:62.0) Gecko/20100101 Firefox/62.0.

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

form element looks similar to <main></main>, except the form contains all the input elements and its corresponding labels.

Nest your text input element within a form element. Which means wrap the input with a form element

Note: It has an action="" attribute as mentioned in the instruction

Is it <from></from> Or <form></form>… ???

hahahaha thanks bro …

It happens… :wink: Happy Coding.!

I use it

<form action="/submit-cat-photo>
   <input type="text" placeholder="cat photo URL>
</form>

and system dont accept that
in the video is same way like me

system says: make sure your form element has well-formed open and closed tags.

Various attributes of the form element are missing the closing quote of the value

i dont know? tell me … for example?

There is the opening quote but not the closing one

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make easier to read.

See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.

Note: Backticks are not single quotes.

markdown_Forums