Survey Form - Build a Survey Form

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:

ok, guys i got it, my bad, i did not close the code above it so it reads that the name label is a continuation of the previous one…my apologies…

Sometimes, those are the hardest to find.

Keep up the great progress!

Happy coding! :slight_smile:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.