Survey Form - Build a Survey Form

Stuck on last 3 checkmarks:

Your #name-label should contain text that describes the input.

help?

Your code so far

<!-- file: index.html -->
<!DOCTYOPE HTML>
<html lang="en">
  <link rel="stylesheet" href="styles.css">
  <title></title>
  <h1 id="title">Survey Form</h1>
  <p id="description">this is a survy form</p>
  <form id="survey-form">
  <fieldset>
    <label for="name-label">Enter Your Name: <input id="name" name="name" placeholder="enter your name" type="text" required /></label>
    <label for="email-label">Enter Your Email: <input id="email" name="email" placeholder="enter your email" type="email" text="email-label" required />
    </label>
    <label for="number">Age<input id="number" type="number" name="number" placeholder="69" min="13" max="120" /></label>
    <label id="name-label"><input type="text"></label>
    <label id="email-label"></label>
    <label id="number-label"></label>
   Sex:
          <select id="dropdown" name="dropdown">
            <option value="">(select)</option>
            <option value="M">Male</option>
            <option value="F">Female</option>
            <fieldset>
                    <label for="personal-account"><input id="personal-account" type="radio" name="account-type" class="inline" value="radio" /> Personal Account</label>
        <label for="business-account"><input id="business-account" type="radio" value="radio" name="account-type" class="inline" /> Business Account</label>
         </select>
        </label>
        <textarea id="bio" name="bio" rows="3" cols="30" placeholder="additional comments"></textarea>
        </label>
        <label for="terms-and-conditions" name="terms-and-conditions">
          <input id="terms-and-conditions" type="checkbox" required name="terms-and-conditions" class="inline" value="check1" /> I accept the <a href="https://www.freecodecamp.org/news/terms-of-service/">terms and conditions</a></label>
          <label for="terms-and-conditions" name="terms-and-conditions">
          <input id="terms-and-conditions" type="checkbox" required name="terms-and-conditions" class="inline" value="check" /> I accept the <a href="https://www.freecodecamp.org/news/terms-of-service/">terms and conditions</a>
        </label>
        <input id="submit" type="submit" value="Submit">

  </fieldset>
  </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/108.0.0.0 Safari/537.36 Edg/108.0.1462.46

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

There is no label text here.


I recommend

  1. Spell check your project

  2. Run your code through an HTML validator
    Ready to check - Nu Html Checker

  3. Put some effort into making your project look like something you would be proud to show off!

(post deleted by author)

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