Tell us what’s happening:
Describe your issue in detail here.
Your code so far
“name-label”>
You should have a label element with an id of name-label.
<!-- file: index.html -->
<link rel="stylesheet" href="styles.css"> class="input-element"
<h1 id="title"> how can NBA improve their entertainment value? </h1>
<p id= "description"> thank you for taking the time to help the NBA improve</p>
<form id=" survey-form">
<div class="input-element">
<labal id="name-label" >
Name
</labal>
<input placeholder="name" id="name"type="text"required/</div>
<div class="input-element">
<labal id="email-label">
Email
</labal>
<input placeholder="email"id="email"type="email"required/>
</div>
<div class="input-element">
<labal id="number-label">
Age
</labal>
<input placeholder="age" id="age"min="5" max="100" type="number" required/>
</div>
<div class="input-element">
<labal id="select-label">
who's your favourite team?
</labal>
<select id="dropdown" >
<option>bucks</option>
<option>Timberwolves</option>
<option>lakers</option>
</select>
</div>
<div class="input-element" >
<label>Have you been to a game before?</label>
<div>
<label><input type="radio"name="game">Yes</label>
</div>
<div>
<lable><input type="radio"name="game">No</label>
</div>
</div>
<div class="input-element">
<label>which suggestion are good ideals for the NBA toimplemant?</label>
<div>
<label><input type="checkbox"name="ldeas"value="playin"/>playing game</label>
</div>
<div>
<lable><input type="checkbox"name="ldeas"value="ticketer" />Cheaper ticketer</label>
</div>
<div>
<lable><input type="checkbox"name="ldeas"value="food" />Cheaper food</label>
</div>
<div>
<lable><input type="checkbox"name="ldeas"value="calls" />less ref calls</label>
</div>
<div>
<lable><input type="checkbox"name="ldeas"value="super team" />super team</label>
</div>
</div>
<div class="input-element">
<label> Additonal comments </label>
<textarea type= "text"></textarea>
</div>
<button type="submit" id="submit">
submit
</button>
</form>
/* file: styles.css */
body{
background-color: lightblue;
text-align: center;
}
form{
max-width: 500px;
text-align: left;
padding: 20px;
border: 2px solid black;
border-radius: 10px;
}
input{
padding:5px;
border: none;
border-redius: 5px;
}
input-element {
display: flex;
flex-radius: column
margin: 10px;
}
salect{
padding:5px;
border: none;
border-redius: 5px;
}
input{type="checkbox"} {
width: 15px;
height: 15px;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36
Challenge: Survey Form - Build a Survey Form
Link to the challenge: