How to nest within a form an 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>



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






</main>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 9; TECNO KB7j) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.136 Mobile Safari/537.36.

Challenge: Create a Form Element

Link to the challenge:

Hi @matanjumouliom!

Welcome to the forum!

You got the nesting part right but changed the input.

This part is wrong.

Thanks very much jwilkins.oboe please what should I use there

If you reset the lesson, you will see what was originally there for the placeholder text

Okay thanks very much I did it and it succeeded

Hi @matanjumouliom,
Your input part should be like this:

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

Thank you for your enthusiasm to help, but please do not just hand out answers.

Got it! Thank you for letting me know.

1 Like

I have edited your post to include spoiler tags.

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

1 Like