Survey Form - Build a Survey Form

Tell us what’s happening:
Describe your issue in detail here.
Step 4. Inside the form element, you are required to enter your name in an input field that has an id of name and a type of text

I did not pass step 4 - it says " Your #name should require input." What does that mean? How do I make the #name require input?

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
   <h1 id="title">How to be better
<p id="description">The goal is to become better. </p>
  <form id="survey-form"> Name
<input name="name" id="name" type="text"> </input>


/* file: styles.css */

  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

You should add the required keyword inside the input opening tag

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