Tell us what’s happening:
Describe your issue in detail here.
Hi,
I’m stuck on what to do next here are the hint’s :
Your #email should be a descendant of #survey-form
Your #number should be a descendant of #survey-form
-
Your
#email-labelshould contain text that describes the input. -
Failed:Your
#number-labelshould contain text that describes the input. -
Failed:Your
#name-labelshould be a descendant of#survey-form. -
Failed:Your
#email-labelshould be a descendant of#survey-form. -
Failed:Your
#number-labelshould be a descendant of#survey-form. -
Failed:Your
#nameshould have aplaceholderattribute and value. -
Failed:Your
#emailshould have aplaceholderattribute and value. -
Failed:Your
#numbershould have aplaceholderattribute and value.
Your#dropdownshould be a descendant of#survey-form -
You should have at least two radio buttons that are descendants of
#survey-form. -
Failed:All your radio buttons should have a
valueattribute and value. -
Failed:All your radio buttons should have a
nameattribute and value. -
Failed:Every radio button group should have at least 2 radio buttons.
-
Failed:You should have at least two
inputelements with atypeofcheckbox(checkboxes) that are descendants of#survey-form. -
Failed:All your checkboxes inside
#survey-formshould have avalueattribute and value. -
Failed:You should have at least one
textareaelement that is a descendant of#survey-form.
Your #submit should be a descendant of #survey-form
Can some help me out I don’t know what they mean by “should be a descendant of #survey-form .” And “should contain text that describes the input.” Also " should have a placeholder attribute and value." and the rest of the hints above. Thank you much appreciated.
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
</head>
<body>
<h1 id="title">Survey Form</h1>
</body>
<div></div>
<p id="description">Welcome Thank you for your Input</p>
<title></title>
<form id="survey-form">Name: <input id="name" type="text" required></form></input>
E-Mail: <input id="email" type="email" required></input>
Number <input id="number" type="number" min="13" max="120"></input>
<label id="name-label">Name</label>
<label id="email-label"></label>
<label id="number-label"></label>
<select id="dropdown">
<option></option>
<option></option>
</select>
<input type="radio" value="value" name="value" type="checkbox"></input><input type="radio" type="checkbox"></input>
<textarea></textarea>
<input id="submit" type="submit"></input>
</html>
/* 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/106.0.0.0 Safari/537.36 Edg/106.0.1370.47
Challenge: Survey Form - Build a Survey Form
Link to the challenge: