Unfortunately no, the for attribute only works on the label element and thatβs how we link the input and label. Also if you wrap the input in an element you can no longer use sibling selectors to show and hide the navigation π.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Unfortunately no, the
forattribute only works on the label element and thatβs how we link the input and label. Also if you wrap the input in an element you can no longer use sibling selectors to show and hide the navigation π.