Struggling with Responsive web design step 15

I have tried this

Enter Your First Name:
Enter Your Last Name:
Enter Your Email:
Create a New Password:
with a
Enter Your First Name:
and
Enter Your First Name:
and
Enter Your First Name:
as variations with and not able to pass the test.
it’s posting my questions as html.

how do i post questions without it hiding the tags or my code?

Hi @ nic.hartley, and welcome to the forum!

To format your code in a forum post you can either:

  • select your code and then click the </> (pre-formatted code) button
  • or use 3 backticks (```) on their own line above and below your code.

If you do that, please include a link to the challenge you’re working on.

For the next time you want to post a question in the forum, you can do that by clicking the Ask for Help button located on the challenge.
That will create a new topic with all your code and it also includes a (helpful) link to the challenge.
You’ll still be able to ask your question in the post before submitting it to the forum.

thank you
will do so in the future
I have tried this

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

as variations,and not able to pass the test.

I guess this is step 15 of “Building a Registration Form”?
(There’s a lot of "step 15"s in the new curriculum).

Try using your first answer (the first version in the code you posted) without the
type="text".

Don’t forget to add a “First Name” label and input.
That seems to pass the test for me.

Thank you.
yes it’s for the responsive website design.

looks like I was over thinking the answer.

what does the input default to if you don’t specify type?

The default value is “text”.

It isn’t “wrong” to explicitly specify type="text" but I guess that, as the instructions didn’t specifically ask for it, then the test doesn’t accept it.

There’s an FCC article about the input element that might be useful/interesting:

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