As a Reactjs beginner, I am looking for assistance in changing the background color of a faculty item (.faculty) to red when the respective radio input is checked. This should be achieved using the onChange method in Reactjs. Thank you in advance for your help!
<div className="faculties">
<div className='faculty '>
<label htmlFor="faculty1">Science
<input type="radio" id='faculty1' name="chooseFaculty" />
</label>
</div>
<div className='faculty '>
<label htmlFor="faculty2">Management
<input type="radio" id='faculty2' name="chooseFaculty" />
</label>
</div>
</div>