Survey Form - Build a Survey Form

Tell us what’s happening:

I don’t know what I’m doing wrong. It’s saying I should have an input element with an id of name also my #name should have a type of text and should require input. The same goes for email and number. I’ve been stuck on this for a while now and I really need help.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Exploring Digital Habits and Preferences</title>
    <link rel="stylesheet" href="styles.css"/>
      <h1 id="title">Exploring Digital Habits and Preferences</h1>
      <p id="description">Please fill out this form with the required infromation</p>
      <form id="survey-form">
        <label id="name-label">Name<input type="text" id:"name" name:"name" placeholder="Enter Your Name" required/></label><br>

        <label id="email-label">Email<input id:"email" type="email" name="email placeholder="Enter Your Email"required/></label><br>

        <label id="number-label">Number<Enter<input id:"number" type="number" name="number" min="5" max="15"/></label><br>

/* 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/ Safari/537.36 Edg/

Challenge Information:

Survey Form - Build a Survey Form

This is not have you set an id. Are you sure a colon is what you are supposed to use?

1 Like

These stupid mistakes I make without noticing. Thanks for the help!