Create a Form Element - Help!

Create a Form Element - Help!
0.0 0

#1

Tell us what’s happening:

Okay, I’m stumped. Help!

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

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1 Safari/605.1.15.

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


#2

You should do this:

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


#3

@Christinakal - Next time try giving the OP a hint instead of just giving the solution. The OP will learn more by writing most of the code by him/her self.


#4

You’re right! It’s my first day at the forum so I am very sorry!


#5

It is fine. Just wanted to let you know.


#6

Thanks again! Really appreciated.