How do I prevent my Mail and In-Person Checkboxes from wrapping around the previous element and make them look like all the other elements?
IMPORTANT! I keep failing test #13 even though I have tried having (name=“name1”, name=“name2”, etc…) and (name=“name”, name="name) in the sense that they are varying and identical. Why do I keep failing?
I’m new to programming so if my questions sound like gibberish I apologize.
EDIT: LINK https://codepen.io/NurturingCoder/pen/gOgBGKO
Welcome to the forums @NurturingCoder. Some things;
- Do not use the
<br> element to force line breaks or spacing. That’s what CSS is for.
- Reference MDN Docs
- Instead of using
<br> elements to have each inline element on a new line, use or set container elements to be block-level elements so they’ll each take up the full width.
- When a test fails click the red button to see which test(s) are failing and text to help you correct the issue.
Be sure and read more than just the first line of the failing message. The ability to read and comprehend error messages is a skill you’ll need to acquire as a developer. Ask questions on what you don’t understand.
- Remember that an
id must be unique within the document.
Hope that helps.
I see that you are failing 12 not 13. You have more than one
id="dropdown". The “label for” attribute should be the same as the “input id” attribute. An element should have only one
Your checkboxes do not appear wrapped. They are stacked since they are in separate
There is a stray letter “u”.
Thank you so much for information!
My bad. Thank you so much!
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.