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-label
should contain text that describes the input. -
Failed:Your
#number-label
should contain text that describes the input. -
Failed:Your
#name-label
should be a descendant of#survey-form
. -
Failed:Your
#email-label
should be a descendant of#survey-form
. -
Failed:Your
#number-label
should be a descendant of#survey-form
. -
Failed:Your
#name
should have aplaceholder
attribute and value. -
Failed:Your
#email
should have aplaceholder
attribute and value. -
Failed:Your
#number
should have aplaceholder
attribute and value.
Your#dropdown
should 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
value
attribute and value. -
Failed:All your radio buttons should have a
name
attribute and value. -
Failed:Every radio button group should have at least 2 radio buttons.
-
Failed:You should have at least two
input
elements with atype
ofcheckbox
(checkboxes) that are descendants of#survey-form
. -
Failed:All your checkboxes inside
#survey-form
should have avalue
attribute and value. -
Failed:You should have at least one
textarea
element 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: