Survey Form - Build a Survey Form

Tell us what’s happening:
Describe your issue in detail here.

  1. For the name, email, and number input fields, you can see placeholder text that gives a description or instructions for each field.

I am confused as to what defines as a placeholder. As you see I set it up like “placeholder=“number”” etc. Yet its asking for a description. Can someone provide me more clarity on this? Lastly, I feel like my code is super unorganized. Are there any tips on how to properly know when and when not to use tabs? Thank you in advance.

   **Your code so far**
/* file: index.html */
<DOCTYPE html!>
 <h1 id="title">Rhu's Survey</h1>
 <p id="description">Drop Sum Knowledge</p>
   <form id="survey-form" id="name" type="text" required>
     <input id="name" type="text" required>
       <input id="email" type="email" required>
         <input id="number" type="number" required min="1" max="999">

<label id="name-label" placeholder="name" placeholder="8">Enter Your Name</label>
<label id="email-label">Enter Your Email</label>
<label id="number-label">Enter Your Number</label>
/* 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/ Safari/537.36

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

placeholder is an attribute for input elements, not label elements.

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