Following accessibility best practices, link the input
elements and the label
elements together using the for
attribute.
Use first-name
, last-name
, email
, and new-password
as values for the respective id
attributes.
hi, i cant understand where im wrong, i think i tried everything i could possibly think of
<fieldset>
<label for:"first-name">Enter Your First Name: <input id:"first-name"/></label>
<label for:"last-name">Enter Your Last Name: <input id:"last-name"/></label>
<label for:"email">Enter Your Email: <input id:"email"/></label>
<label for:"new-password">Create a New Password: <input id:"new-password"/></label>
</fieldset>
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:
Learn HTML Forms by Building a Registration Form - Step 18