Issue in the "Create a form element" course

Tell us what’s happening:
Issue in the “Create a form element”

  **Your code so far**
<h2>CatPhotoApp</h2>

<main>

  [...]

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

</form>

</main>
      

Got this as test result:

// running tests The existing

input

element should be nested within a

form

element. // tests completed

I do not understand!

  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36 Edg/93.0.961.47

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

this is not the existing input element, you may have deleted it and need to reset the challenge

I’m guessing that this is not what the input element looked like when you first loaded the challenge. Changing the input will cause the tests not to recognize it.

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