Survey Form - Build a Survey Form

hello my greetings
please what do they mean by your email require an input
your name require an input

if you check my codes there are inputs there with type etc…

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html>
<head>
<title>
SURVEY FORM
</title>
<meta charset="utf-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
  <h1 id="title">
    SURVEY FORM
  </h1>
  <P  id="description">
    Fill in Your Description
  </P>
  <form id="survey-form" action="/action_page.php">
  <fieldset>
    <label> First Name: <input name="fame" type="text" id="name"  > </label>
    <label>Email: <input type=" email" id="email"</label>
  </fieldset>
  </form>
</body>
</html>

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

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

Hi, you need to add the required attribute to your input element.

Hey! Instead of providing answers to questions, it would be much better for someone’s learning if you just provide them with hints and suggestions to help them solve the problem.

We are trying to minimize the number of solutions on the site to help the community members get better at reasoning through and solving potential roadblocks.

1 Like

Hello sorry he was just trying to help out
if i can ask
please can you provide a better hint
i couldn’t find my way through even with his solution

Hey!
image

this basically means that you need to make sure the user enters something into the input box or else the form would not get submitted.

here’s an article that might be of help!

1 Like

your article did great thanks so much thanks for the brainstorming
problem solved

1 Like