Adding checkboxes

Adding checkboxes
0

#1

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


#2

Hey mfofana can you add a link to your work?


#3

https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/create-a-set-of-radio-buttons/


#4

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


#5

Hi sedmo, see my code below
Loving
Haters
slimmy


#6

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.


#7

I see a spelling mistake, psersonality!


#8

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