Survey Form - Build a Survey Form

Hi there,
I was wondering for part of my name-label placeholder not working any idea for me please

thank you!

Your code so far

<!-- file: index.html -->
<h1 id="title"</h1>
Candy satisfaction Survey Form
<p id="description">
Thank you to taking your time for Candy satisfaction Servey Form
<form id="survey-form">
  <input id="name" required>
  <input id="email" type="email" required>
  <input id="number" type="number" min="0" max="99">
  <label id="name-label">name 
    <input type="text" id="name" name="name" placeholder="Enter your name" required / > </label>
  <label id="email-label">email
  <label id="number-label">number
  <select= id="dropdown">
/* 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/121.0.0.0 Safari/537.36

Challenge Information:

Survey Form - Build a Survey Form

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

Hi @Pearypie

You have two input elements with a #name, the first one doesn’t have the placeholder attribute.

Happy coding

WOW!!
It’s my silly mistake I already fixed it

Thank you a bunch :slight_smile:

1 Like

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