Struggling on Form Element

I am stuck on the form element code. This is what I have 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="https://freecatphotoapp.com/submit-cat-photo"><input>
</form>
</main>

I have no idea what I am doing wrong. How do I nestle the existing input into the form element? I have tried to do that about 20 times after reading your suggestions and I am now really stuck. Could someone tell me the solution of what I need to change the text in Input to for it to be nexted in the form element please? I feel like I could be stuck here for daysThis text will be blurred

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 (’).

Just nest the input tag inside the form tag.

<form>
  <input>
</form>

The term “nest” was introduced in this challenge:
Nest an Anchor Element within a Paragraph

1 Like

You got to keep the action element in. If that goes, I’d have to reset the code. Why is this so difficult?

Thank you. I did check it out and followed it with using existing input element. It’s still saying the same thing

Can you share the current code that you think is correct? I’d be happy to take a look at it.

<form action="https://freecatphotoapp.com/submit-cat-photo"

<input type=“text” placeholder=“cat photo URL”

Please do not create multiple topics for the same question. I have merged your topics.

Niether of these opening tags are complete. They are both missing >. You also do not have a closing form tag.

I have added those. Thank you for your help

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.