How do I code:
- Inside the form element, you are required to enter your name in an
input
field that has anid
ofname
and atype
oftext
name
<!-- file: index.html -->
<h1 id="title">Survey</h1>
<p id="description">Personal details</p>
<form id="survey-form">survey-form
<fieldset>
<label for="name">name <input id="name" type="text" placeholder="simphiwe" /></label>
<label for="email">email <input id="email" type="email" placeholder="ssitole38@gmail.com" /></label>
<label for="number">number <input id="number" type="number" min="5" max="13" placeholder="122334"/>
<select id="dropdown" min:2><option></option><option></option></select>
<label id="name-label">name</label>
<label id="email-label">email</labell>
<label id="number-label">number</label>
<input id="radio" type="radio" value="6" name="radio" />
<input id="radio" type="radio" value="7" name="radio" />
<input id="checkbox" type="checkbox" value="10" name="checkbox"/>survey-forms
<input id="checkbox" type="checkbox" value="10" name="checkbox"/>survey-forms
<textarea>survey-form</texterea>
<button id="submit" type="submit">survey-form</button>
</form>
/* 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/112.0.0.0 Safari/537.36
Challenge: Survey Form - Build a Survey Form
Link to the challenge: