Adding checkboxes

Adding checkboxes


I am having error to eheckboxes to my form

<label for="loving"> <input id="loving" type="checkbox" name="psersonality"> Loving </label>
    <label for="haters"> <input id="haters" type="checkbox"
name="personality"> Haters </label>
    <label for="slimmy"> <input id="slimmy" type="checkbox"
name="personality"> slimmy </label>

Add to your form a set of three checkboxes. Each checkbox should be nested within its own label element. All three should share the name attribute of personality


Hey mfofana can you add a link to your work?



you also need to include your code so I can see what you did wrong :laughing:


Hi sedmo, see my code below


I’ve edited your post for readability. When you enter a code block into the forum, precede it with a line of three backticks and follow it with a line of three backticks to make easier to read. See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.


I see a spelling mistake, psersonality!


You don’t want to know how many thousands of dollars my employers have spent on me debugging my own spelling errors.