Hey everyone! Working on the second project for HTML-CSS.
My radio and checkbox buttons are out of alignment, and I’ve spent yesterday and today researching to find out how to align them in the middle and format them so they match the rest of my survey.
Here’s my HTML Code for the radio buttons:
<p>Choose a Day:</p>
<label for="radio">Choose a Day:</label>
<input id="Monday"
type="radio"
name ="Monday-Friday"
value="Monday">Monday</input>
<input id="Friday"
type="radio"
name ="Monday-Friday"
value="Friday">Friday</input>
Here’s my HTML Code for the Checkboxes:
<label for="times">
Choose a Time:</label>
<label for="Times">
<input id="3pm"
type="checkbox"
value="time">3:00pm-4:00pm</label>
<label for="Times">
<input id="12pm"
type="checkbox"
value="time">12:00pm-1:00pm</label>
As you can see, the text is out of alignment with the rest of the form, and the checkboxes don’t show up on the form at all
Here’s my Codepen for you to check out the CSS and rest of the code: Survey Form Codepen
What can I do?