Survey Form - Build a Survey Form

my error is that my name, email, and age should have a placeholder id but I do have that so im not sure what is wrong

Your code so far

<!-- file: index.html -->
<h1 id="title">freecodecamp survey form</h1>
<p id="description">Thank you for taking the time to help us improve the platform</p>
<form id="survey-form">
 <label placeholder="name" id="name-label">Enter your name<input id="name" type="text" required /></label>
 <label placeholder="email" id="email-label">Enter your email<input id="email" type="email" required /></label>
 <label placeholder="number" id="number-label">Enter your age<input id="number" type="number" required min="13" max="120"/></label>
 <select id="dropdown"></select>
/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

placeholder=β€œname” will use in input element not in label

1 Like

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