Tell us what’s happening:
on the code below, line 12. Why is it failing when line 13 and 14 were accepted and passed. they are on the same sequence with only the text inside “****” were replaced. Note that when i write the code “label for” on line 12 remains red. I’m stumped.
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<body>
<h1 id="title">Survey Form</h1>
<title id="title">Survey Form</title></h1>
<p id="description">This is a Survey Form.</p>
<form id="survey-form">
<input type="text" id="name" name="name" required>
<input id="email" type="email" required>
<input id="number" type="number" min="10" max="100".
<label for="name" id="name-label">Name: Enter your name here</label>
<label for="email" id="email-label">Email: Enter your Email here</label>
<label for="number" id="number-label">Number: Enter your Number here</label>
</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/116.0.0.0 Safari/537.36
Challenge: Survey Form - Build a Survey Form
Link to the challenge: