Tell us what’s happening:
Your code so far
<h1 id="title">
Assessment Form
</h1>
<p id="description">
For Project Assessment
</p>
<form id="survey-form">
<label for="name-label">Name</label>
<input id="name-label" type="text" placeholder="Name" required><br><br>
<label for="email-label">Email</label>
<input id="email-label" type="text" placeholder="Email" required ><br><br>
<label for="number-label">Number</label>
<input id="number-label" type="tel" placeholder="mobile no." min="10" max="10" required><br><br>
<label for="password">Password</label>
<input type="password" id="password" name="password" value="password" pattern=".{6,}" min="6" max="8" placeholder="password" required><br><br>
<label for="dropdown">Dropdown</label>
<select name="fruit" id="dropdown">
<option value="select">Select</option>
<option value="papaya">Papaya</option>
<option value="carrot">Carrot</option>
<option value="banana">Banana</option>
</select> <br><br>
<label for="radio-button">Select Button:</label><br>
<label for="maruti">Maruti</label>
<input type="radio" id="radio-button" name=car value=maruti><br>
<label for="Hyundai">Hyundai</label>
<input type="radio" id="Hyundai" name=car value=hyndai><br><br>
<label for="checkbox">Pen:</label><br>
<label for="pen">Reynolds</label>
<input type="checkbox" id="checkbox" value="renolds"><br>
<label for="jetter">Jetter</label>
<input type="checkbox" id="checkbox" value="jetter"><br><br>
<label for="submit"></label>
<input type="submit" id="submit" placeholder="Submit"><br><br>
<label for="comment">Comment</label><br>
<textarea name="comment" form="usrform" rows="4" cols="50">Enter text here...</textarea>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36
.
Challenge: Build a Survey Form
Link to the challenge: