Survey Form - Build a Survey Form

It recognizes the email and number, but not the name label. Why? I did the exact same thing for all 3. I don’t get the problem.

Your code so far

<!-- file: index.html -->
<h1 id="title">title</h1>
<p id="description">description</p>
<form id="survey-form">
  <input id="name" required>
  <input id ="email" type="email" required>
  <input id="number" type="number" min="18" max="120"
<label id="name-label"for="name">Name</label>

<label id="email-label"for="email">Email</label>
<label id="number-label" for="number">Number</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/105.0.0.0 Safari/537.36

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

hello, I don’t understand your question?
Which “it” do you mean?

I think you have to close the preceding tags first. on previous line.

The syntax highlighting is giving you a hint here.

I thought the highlighting was weird. Then I figured it out. Thanks!

1 Like

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