I’m doing the test for the survey form and I’m stuck in the following error: “All checkboxes should have a value attribute and a value.” However, I have a value that the test won’t accept. It accepts the same syntax for the radio button, but not for checkboxes. I tried adding name, id, what have you, and I still can’t make it.
Now, I found someone on YouTube who has passed this particular task. I copied their checkbox code and I still don’t pass it. How is that possible? I ran this code through a LOT of places. it passes the validation.w3, but won’t pass this test.
Please please please help me. It’s been days since I’ve been stuck in this.
I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
Oh, my lord! Ilenia, I so much appreciate you! I feel so dumb right now. Thanks a lot! I understand the first issue with the id + for attribute. I will fix that too. Thanks so so much for your help!