Lesson struggle

Tell us what’s happening:
Describe your issue in detail here.

I don’t understand the nesting of the input element no sure what lesson that is for all you folks who are a thousand times smarter than me, please help. I would also like your opinion on my direction. I 'm in my sixties and had a massive stroke a few years ago and am now 100% wheelchair bound with no feeling or movement on my left side, my neurologist said I have significant brain damage. Do you think this course is too much and if so what would you recommend? I’ve always wanted to learn coding, and maybe this is good for my recovery. I welcome your thoughts and guidance. Thank you

  **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://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>
<form></form>
<form>
<form action="/submit-cat-photo" input type="text"
<form> input type="text" placeholder="cat photo URL">
form action=""https://www.freecatphotoapp.com/submit-cat-photo"></form>
<input>
</form>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0

Challenge: Create a Form Element

Link to the challenge:

This one’s a little tricky.

FIRST: Lets look at the two elements they are talking about here:

A <form> element and an <input> element.




Nesting means to put one element inside another element.

In this case, they are asking you to put an <input> element inside the <form> element.


What this looks like in Concept :

<form><input></input></form>




The tutorial asks us :

  1. To Assign "https://www.freecatphotoapp.com/submit-cat-photo" to the action attribute of the form element.

  2. To Nest the existing input element inside a form element .



FIRST: We are asked to place the website address:

"https://www.freecatphotoapp.com/submit-cat-photo"

inside the

<form action=" WEB ADDRESS HERE ">



Then to nest the <input> within the <form> :

<form action="WEB ADDRESS HERE">input type="text" placeholder="cat photo URL"></form>

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