Survey Form - Build a Survey Form

Tell us what’s happening:
Describe your issue in detail here.
my code keep saying “Your #name-label should contain text that describes the input.”
Your code so far

<!-- file: index.html -->
<h1 id="title">how can tech reduce rates of unemployment in the society</h1>
<p id="description">thanks for taking your time to reduce the rates of unemployment</p>
<form id="survey-form">
  <label id="name-label" for="enter your name"></label>
    <input id="name" type="text" required>
    <label id="email-label"></label>
    <input id="email" type="email" required>
    <label id="number-label"></label>
    <input id="number" min="55" max="100" type="number">
</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/114.0.0.0 Safari/537.36

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

This label has no text. The user will just see a text box with no label to indicate what it’s for

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