Stuck - Responsive Web Design - Step 15

Step 15 : Nest an input element within each label . Be sure to add each input after the label text, and include a space after the colon.

My Answer:

      <fieldset>
         <label>Enter Your First Name:&nbsp&nbsp<input></label>
        <label>Enter Your Last Name:&nbsp&nbsp<input></label> 
        <label>Enter Your Email:&nbsp&nbsp<input></label>
        <label>Create a New Password:&nbsp&nbsp<input></label>
      </fieldset>

I get this: Nest an input element within each label . Be sure to add each input after the label text, and include a space after the colon.

What i’m i doing wrong ?

1 Like

Hi @tougawat45 !

Welcome to the forum!

Please post your code there.

Here is how to post code in the forum

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

2 Likes

Example:

<label for="">
    <input type="">
</label>

I just tried this

<fieldset>
        <label for="">Enter Your First Name:<input type=""></label>
        <label for="">Enter Your Last Name:<input type=""></label>
        <label for="">Enter Your Email:<input type=""></label>
        <label for="">Create a New Password:<input type=""></label>
      </fieldset>

And i get the same feedback

I’m working on writting the code as someone can read it please wait a moment

1 Like

I already posted my code in the forum HTML/CSS.
Could you see it

1 Like

Your code is not good.

Example:

<label for="">
    <input type="">
</label>

I dont understand what they mean when they write “(…) include a space after the colon.”

The Feedback is " You should add the first input after the label text Enter Your First Name: , and include a space after the colon."

THat’s exactly what i’m doing but i dont understand why i cannot go further :confused:

Step 15 : Nest an input element within each label . Be sure to add each input after the label text, and include a space after the colon.

My Answer:

<fieldset>
         <label>Enter Your First Name:&nbsp&nbsp<input></label>
        <label>Enter Your Last Name:&nbsp&nbsp<input></label> 
        <label>Enter Your Email:&nbsp&nbsp<input></label>
        <label>Create a New Password:&nbsp&nbsp<input></label>
      </fieldset>

And I get this: Try again. This might help:

You should add the first input after the label text Enter Your First Name: , and include a space after the colon.

I did what is suppose to be done and i dont know why i cannot go further.
It would be great if someone could help me here :slight_smile:

Hi @tougawat45 !

Welcome to the forum!

Here is how to post code in the forum

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

these may be the issue - add an actual space, not this

Thankyou. I tried it too. But i get the same feedback

can you give your updated code please?

<fieldset>
        <label for="">Enter Your First Name: <input type=""></label>
        <label for="">Enter Your Last Name: <input type=""></label>
        <label for="">Enter Your Email: <input type=""></label>
        <label for="">Create a New Password: <input type=""></label>
      </fieldset>
3 Likes

use only one space, not two
and don’t add the type to the input

4 Likes

Got it :slight_smile: Thankyou so much :slight_smile:

please don’t open multiple topics for same question, I have merged your two threads

2 Likes

Mod Edit: SOLUTION REDACTED

1 Like

this is the right answer i will do this

1 Like