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>
<html>
<head>
<h1 id="title">How to be better
</h1>
<p id="description">The goal is to become better. </p>
</head>
<body>
<form id="survey-form"> Name
<input name="name" id="name" type="text"> </input>
</form>
</body>
/* 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/104.0.0.0 Safari/537.36
Challenge: Survey Form - Build a Survey Form
Link to the challenge: