Html label isn't working

I’m having a problem that when i click on the label it doesn’t toggle, it seems like it would be that the “for” isn’t done properly but it is and i have no other of the same ids. please help here is the code

You are missing the equal symbol between the for and the id name. Try something like below:

<label for="email">Email Address</label>
          <input type="email" class="form-control" id="email">
1 Like

I knew it would be something simple thanks