Survey Form - Build a Survey Form

Tell us what’s happening:

some one help me my code is noy running

Your code so far

<!-- file: index.html -->
<h1 id="title">Learning Code</h1>
<p id="description"><i>This help me in coding journey</i></p>
<form id="survey-form">
  <input id="name"type="text">
  <input id="email">
  <input id="number">
  <label id="name-label",id="email-label",id="number">
<select id="dropdown">
<option value="selectone"></option>
<option value="1"></option>
<option value="2"></option>
<option value="3"></option>
</select>
<textarea for="additional information"></textarea>
<input id="submit" type="submit" value="submit"/>
/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0

Challenge Information:

Survey Form - Build a Survey Form

Please Tell us what’s happening in your own words.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more you say, the more we can help!

this is not valid, you can’t give multiple ids to a single element

you could also want to use an html validator: Ready to check - Nu Html Checker

i changed some things but my code is not run

what issue are you having? how are you trying to solve it? what is your confusion?

@MARY7 Hello. If you have made some changes, please share here. Tell us what you changed, and any additional information that might be helpful for other to assist you. Thanks.

Tell us what’s happening:

some one check my code and guide me about my mistakes

Your code so far

<!-- file: index.html -->
<h1 id="title">Learning Code</h1>
<p id="description"><i>This help me in coding journey</i></p>
<form id="survey-form">
  <input id="name"type="text">
  <input id="email">
  <input id="number">
  <label id="name-label" id="email-label" id="number">
<select id="dropdown">
<option value="selectone"></option>
<option value="1"></option>
<option value="2"></option>
<option value="3"></option>
</select>
<textarea for="additional information"></textarea>
<input id="submit" type="submit" value="submit"/>
/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0

Challenge Information:

Survey Form - Build a Survey Form

Hi there! You need to add a label for each input element. You have added all three id attributes and values within the one label element.

for attribute and it’s value goes within the label opening tag. also a two words value for an attribute should not have a space in between. You need to add - dash.

for more help, give the details of tests that aren’t passing .

i foolow the instruction you gave me but my code is not run

Check the test console, what it’s output? What the test asking for. If you made the correction, then post your updated code

Tell us what’s happening:

i change some thing but my code is not run
plz see my code and guide me

Your code so far

<!-- file: index.html -->
<h1 id="title">Learning Code</h1>
<p id="description"><i>This help me in coding journey</i></p>
<form id="survey-form">
  <input id="name"type="text">
  <input id="email"type="email">
  <input id="number"type="number">
  <label id="name-label"><label id="email-label"><label id="number-label">
<select id="dropdown">
<option value="selectone"></option>
<option value="1"></option>
<option value="2"></option>
<option value="3"></option>
</select>
<textarea for="additional-information"></textarea>
<input id="submit" type="submit" value="submit"/>
/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0

Challenge Information:

Survey Form - Build a Survey Form

There are a few issues with your code. I suggest you work through the issues one at a time. For example your name input should have a required attribute w hich you haven’t put. I suggest you attempt to correct each one and then come back here with those you can’t do and say what you have tried. If you look at the registration form project you did this should provide the syntax for a lot of this.

do not open multiple topics for the same challenge, please stick to one topic

You haven’t added the closing tags for each label element. Also each label should be next to it’s corresponding input element or wrapped around it.