React: Why You Can't Use 'for' Attribute Directly on Label Elements
In JavaScript, for is a reserved keyword used for loop constructs.When you directly use for as an attribute in JSX (React's syntax for creating HTML-like elements), it conflicts with this keyword's meaning