you have a slight error in your markup. The input elements are missing its id. Currently the for attribute on the labels has no corresponding id in the markup.
My preferred markup(not tested) would look like this. You don't need an id or for if you wrap the <input> in the <label>. The label might need display: block;.
Hi Marc,
you have a slight error in your markup. The input elements are missing its
id
. Currently thefor
attribute on the labels has no correspondingid
in the markup.My preferred markup(not tested) would look like this. You don't need an
id
orfor
if you wrap the<input>
in the<label>
. The label might needdisplay: block;
.Hi Jonas, thanks for catching that the
id
from the input is missing. Looks like a nice workaround, I will try it out!