BROKEN: **Challenge:** Create a Form Element

This Code I typed looks Correct or there is something I am missing because the instructions say missing one X (I also have two check marks and one X) which is: The existing input element should be nested within a form element.

and Below I put both the <from (with the Input) and the

  *<form action="https://freecatphotoapp(DOT Because am New user getting error "can only have two links to post a freaking topic here"........)com/submit-cat-photo"><input type=“text”></form>*

The full html:

<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>

<form action="https://freecatphotoapp(DOT Because am New user getting error "can only have two links to post a freaking topic here"........)com/submit-cat-photo"><input type=“text”></form>

  <p>Top 3 things cats hate:</p>
  <ol>
    <li>flea treatment</li>
    <li>thunder</li>
    <li>other cats</li>
  </ol>

</main>

MAYBE: I put in the wrong spot in the tree?

  **Your browser information:**

I tried both Chrome and Edge

Challenge: Create a Form Element

Link to the challenge:

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

Hi @MstatenECSA !

Welcome to the forum!

You changed the input.
If you reset the lesson, then you will see that the input is different then what you wrote here.

Also those quotes are different than the normal quotes here “”.

1 Like
<input type=“text”>

^is there something wrong with this? I tried resetting everything and still getting the errors.

What is your full, new code?


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

Also do you mean // (and HTML)?

This is the input element you were told to use (really, the input element you were told not to change):

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

Thanks guys, After put the closing tag it worked!!!

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