How to "nest a text field within a form element"

How to "nest a text field within a form element"
0.0 0

#1

Hi all,

I’m afraid I’m a newbie, suffering with the extremely succinct instructions in freecodecamp. Any help with resolving the “how to nest a text field within a form element” would be most appreciated. This was my best idea so far, but of course not correct (the question arises in the 2nd last line of the following text):

CatPhotoApp

Click here to view more cat photos.

A cute orange cat lying on its back.

Things cats love:

  • cat nip
  • laser pointers
  • lasagna

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats

[Thanks a million, and sorry if I’ve mis-posted or if I’ve not seized something totally obvious, which is of course most likely!) :-)]

Ps. Not even sure how you guys are going to be able to read the problem – it seems to be invisible in my post. Sigh.


#2

You can use backticks, like this: `
One at the start and one at the end to wrap an inline code , like var test= toast,
Three as first line and three as last line if you want to post multiline code, like:

const Hello = "World";
const World = "Hello";

console.log( World, Hello)

To answer to your title question, this is a input field of type text nested into a form:

<form>
    <input type="text" />
</form>

#3

Hi Layer,

thank you very much for your help! You have enabled me to move on to the next lessons!

Best wishes