Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Hi, so I'm confuse about nesting the existing input element inside a form element,

This is a practice thing inside freecodecamp.org

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

*** It says that The existing input element should be nested within a form element.***

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Seems to be some strange bug going on with it identifying the indentation in your code.

Replace what you’ve got with the below, and it should allow you to continue.

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

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading