I’m also stuck on this step -
When I have my html & css as this -
<input name="availability" type="radio" id="full-time">
<label for="full-time">Full-time<label>
<input type="radio" name="availability" id="part-time">
<label for="part-time">Part time</label>
input[type="radio"]:checked + label {
color: brown;
}
and when I select the first radio option the 2nd label color also changes. Is it because if I select one radio button, the 2nd radio button is also considered checked because one of the radio buttons from the group is selected? If not, then what’s the problem here?
When I have my html & css as this, it works -
<label><input name="availability" type="radio" id="full-time"> Full time</label>
<label><input name="availability" type="radio" id="part-time"> Part Time</label>
label:has(input:checked) {
color: brown;
}