I dont know what to do

I dont know what to do
0

#1

Tell us what’s happening:

Not sure what I’m doing 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>
  <input type="text" placeholder="cat photo URL"<form action="/submit-cat-photo"></form>
<main>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

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


#2

Hi there! Can you explain where you’re having your problem?


#3

@swimmingpools - I see you are trying to nest it. It just needs to be reversed. Your text field needs to be inside your form field, remember?

Between <form> and </form> you need to place your text input. You were almost there. :slight_smile:


#4

You have not started your form tag.
Put it before input tag and you should pass the challenge.