Anida el elemento input existente dentro de un elemento form y asigna "https://www.freecatphotoapp.com/submit-cat-photo" al atributo action del elemento form

Cuéntanos qué está pasando:
Describe tu problema en detalle aquí.

  **Tu código hasta el momento**

<h2>CatPhotoApp</h2>
<main>
<p>Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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> <form action="https://www.freecatphotoapp.com/submit-cat-photo">**

**</form>**

en esta parte me manda un mensaje de error que El elemento input existente debe anidarse dentro de un elemento form.
------------------------------------------------------------------------------



</main>
  **Información de tu navegador:**

El agente de usuario es: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36

Desafío: Crea un elemento de formulario

Enlaza al desafío:

Revisit the lesson. It shows this as an example of nesting

<form action="/url-where-you-want-to-submit-form-data">
  <input>
</form>

You are to wrap the existing input element in a form element.
You will have to use the Reset All Code button to get the input element that you are to use.

1 Like

Hola amigo, tenia el mismo problema y lo solucione, debes ingresar la linea de “input” dentro de la linea del " form" es decir colocar la input en una linea entre el inicio del " form " y el fin del “form” espero haberte apoyado, saludos

1 Like