Survey Form - Build a Survey Form

Placeholders aren’t working. I typed the value and attribute. What’s the problem?

Your code so far

<!-- file: index.html -->
<h1 id="title">title</h1>
<p id="description">description</p>
<form id="survey-form">
  <input id="name" required>
  <input id ="email" type="email" required>
  <input id="number" type="number" min="18" max="120">
<label id="name-label"for="name">Name<input placeholder="Enter Your Name" required></label>
<label id="email-label"for="email">Email<input placeholder="Enter Your Email" required></label>
<label id="number-label" for="age">Number<input placeholder="Enter Your Age" required></label>
</form>
/* 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/105.0.0.0 Safari/537.36

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

I tested it and it works normally
Try another browser

You have to make sure you have labels for each one, surrounding it you have three inputs then three labels. also you do not have a type for each in the input. Almost there.

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