Survey Form - Build a Survey Form

I do not know how to get the placeholder text for name, email, and age inside the box.

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 id="name-label"><input id="name" type="text" required /></label>
 <label id="email-label">Enter your email<input id="email" type="email" required /></label>
 <label 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:

You use the placeholder attribute.

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