Hi, guys, how are you? I start to write the form and when I go to check, said that: “Your #email must have the placeholder attribute with a placeholder text marker.”. My code for the email is:
<label id="email-label" for="email">Email: </label>
<input name="email" id="email" type="email" placeholder="Ingresa tu email" required="">
I can’t figure out what my mistake is. If you can help me, I would be very grateful. Best regards :).
required is not a attribute that needs an
You just add
required to show that if the email is not entered, the form cannot be submitted.
Please remove that
Thanks for your answer. I have corrected it but I still have the same mistake.
I found the mistake. I made this project in Spanish and I have a translation mistake. I needed a placeholder in #name :). Thank you, isiomaosawele for your answer and correcting to me :).
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.