Survey Form - Build a Survey Form

I’ve gone beyond this point in my project, but everytime I try check my task list I keep getting “your name should require input” and that feels like it’s instructions the wrong way round. What may I have done wrong…here’s my code at that particular point

<input id="name" type="text"> Enter your name </input>
<!-- file: index.html -->
<!DOCOTYPE><html>
  <h1 id="title"> Survey Form</h1>
  <p id="description"> Thank you for taking the time to improve this platform></p>
  <form id="survey-form">
    <input id="name" type="text"> Enter your name </input>
    <input id="email" type="email"> Enter your email </input>
    <input id="number"> Enter your phone number with are code </input>
    number {
      min: 0;
      max: 10;
    }

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

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

It means that you are supposed to use required attribute

Please elaborate a little more, cause I get confused when I have to go back to a task that I’ve already done

HTML input required Attribute.

1 Like

it was so simply but I complicated it in my mind…thank you

1 Like

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