I’m working on the survey project and I’m having issues with the first checkbox in my fieldset. When I add an id the box disappears and I’m not sure why. This is the snippet of code that I’m having issues with:
<fieldset> <legend>How did you hear about SW Photography? (check all that apply)</legend> <input type="checkbox" name="referral" value="facebook-ad" id="facebook-ad"> <label for="facebook-ad">Facebook ad</label> </fieldset>
This doesn’t seem to affect the rest of the page. I copied and pasted this from my code into a new pen and the error seems to be here.