User error figured it out

Tell us what’s happening:
back again with anther mystery. i thought i did it correctly but its telling me " The first label element should have a for attribute with a value of profile-picture ."

i did this with and without the space and im still confuzzled

Your code so far

    <label for:'profile-picture' >Upload a profile picture: <input id='profile-picture' type="file" /></label>
    <label for:'age'>Input your age (years): <input id='age' type="number" min="13" max="120" /></label>
    <label for='referrer'>How did you hear about us?
      <select id='referrer'>
        <option value="">(select one)</option>
        <option value="1">freeCodeCamp News</option>
        <option value="2">freeCodeCamp YouTube Channel</option>
        <option value="3">freeCodeCamp Forum</option>
        <option value="4">Other</option>
    <label for='bio'>Provide a bio:
      <textarea id='bio'></textarea>

Challenge: Learn HTML Forms by Building a Registration Form - Step 38

nvm i got it, i ended up using ‘:’ instead of ‘=’

took seeing the diff color in here to see LOL

1 Like

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