Inserting and creating a form element

Tell us what’s happening:
Describe your issue in detail here.

I’m not sure what I am doing wrong. Tried to create the source element several times and have hd no luck doing it properly.
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://www.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="https://www.freecatphotoapp.com/submit-cat-photo"  
<input> 
type="text" placeholder="cat photo URL"> 
</main>
  **Your browser information:**

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

Challenge: Create a Form Element

Link to the challenge:

It looks like you changed the input element. You shouldn’t do that.

Also, I’m not seeing a closing form tag.

Third, you should have a closing > on your opening form tag.

I need to see it. It’s not registering. I added the > and it was still wrong.

What’s your new full code?

Nest the existing input element inside a form element and assign "https://www.freecatphotoapp.com/submit-cat-photo" to the action attribute of the form element. This is what it is asking me to do.

I can’t see what needs to be fixed unless I can see your code.

<form action="https://www.freecatphotoapp.com/submit-cat-photo"  
<input> 
type="text" placeholder="cat photo URL"> 
</main>

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 it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

Here you have still changed the input element.

You also need to add a closing form tag (third line in the example given)

Ok let me see if I can put the input element back. I’m taking it I should not change it. Then add a closing form tag on a separate line.

<form action ="https://www.freecatphotoapp.com/submit-cat-photo"  
  
  type="text" placeholder="cat photo URL"> 
  </form>

It is still saying this The existing input element should be nested within a form element.

Hmm, the input element still isn’t the original.

I’d click the reset button for this challenge to see the original one.

Ok thank you I will reset and go from there.

The existing input element should be nested within a form element.

I re did it and it still saying that. It's gotta be something simple I am doing wrong.
<input> <form action ="https://www.freecatphotoapp.com/submit-cat-photo" placeholder="cat photo URL">
  </form>
  <input> <form action ="https://www.freecatphotoapp.com/submit-cat-photo" placeholder="cat photo URL">
  </form>

You are still changing the input element. You absolutly must not change a single thing about the input element!

  <input type="text" placeholder="cat photo URL">

The opening form tag goes before the unchanged input element.

The closing form tag goes after the unchanged input element.

Wrong

<form action="https://www.freecatphotoapp.com/submit-cat-photo" type="text" placeholder="cat photo URL">

I am not seeing a closing tag on your form element.
I can’t see a closing form element.
Your input attributes are outside of your input tag.

Correct

It is great that you solved the challenge, but instead of posting your working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

Oh, alright. Thanks. Just joining this platform though so i don’t know much about this space yet.