Step 31 Nest the select element (with its option elements) within a label element with the text How did you hear about us?. The text should come before the sele

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

Kindly answer this question.

Kindly post your full code, a link to the challenge, and a description in your own words of where you are stuck.

Please do not post a picture of code.

Your code and a link to the challenge are automatically provided when you use the Ask for Help button.

<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <title>Registration Form</title>
    <link rel="stylesheet" href="styles.css" />
    <h1>Registration Form</h1>
    <p>Please fill out this form with the required information</p>
    <form action=''>
        <label>Enter Your First Name: <input type="text" required /></label>
        <label>Enter Your Last Name: <input type="text" required /></label>
        <label>Enter Your Email: <input type="email" required /></label>
        <label>Create a New Password: <input type="password" pattern="[a-z0-5]{8,}" required /></label>
        <label><input type="radio" name="account-type" /> Personal Account</label>
        <label><input type="radio" name="account-type" /> Business Account</label>
          <input type="checkbox" required /> I accept the <a href="">terms and conditions</a>
        <label>Upload a profile picture: <input type="file" /></label>
           <label>Input your age (years): <input type="number" min="13" max="120" />How did you hear about us?<select></select></label>
 <input type="submit" value="Submit" />

I am stuck at 31 step of BUILDING A REGISTRATION FORM project.

Kindly please post a link to the challenge and a description of how you are stuck.

I have found the link for you

Sir,It is not helpful I want solution that my project should proceed.

It is against the rules for us to write the answer for other users.

I can’t read your brain, so I don’t know what has you stuck about the instructions.

This is the original select element


You should not change the original select element. You should put the full original select element inside of the new label element.

and where to add new label element?

The new label element goes around the current select element.

Or in other words, the select element goes inside the label element, like you have with the input elements above.

Thankyou soo much sir .It worked.

1 Like

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