<form>
<label>Hello there</label>
<div>
<input/>
</div>
</form>
Is there some way we can style the label when the input inside the div is brought into focus. Please give suggestion for React or HTML without the use of jQuery.
For instance when the input is brought in focus, the color of the label changes.