Label and Input

Hi,

i’m back with my next issue,
After this post I will take a break because its hurting my brain figuring this one out, tried google and chatgpt but cant seem to find the solution.

So I made a new label and input with checkboxes but since I already have a label and input in my CSS file it uses those setting which doesnt work for next labels an inputs I will use in the html file.

as you can see here at the bottom

how can change this that the labels and inputs dont use the same settings in the CSS file ?

thanks

Hello @Tresor you can always use class and id to separate one thing from the other. I hope my reply will help. If not, please mention the original project or course name. Thanks.

2 Likes

what do you mean with this? what do you want to change?

Hi!
add class attribute with any suitable value to those elements within the html file and then target that class within the css file for styling those elements.

2 Likes