Each of your radio button elements should be added within the form tag?

pls help stuck for a long time


We need to see all the code. Right now, all we can see is a small section and can not tell if the radios buttons are within the form element.

To post a code block into a forum post, 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.


im stuck and i really wanna move forward and make progress

Your label and input elements are currently sitting outside of the form element (the <form> and </form> tags. These elements should be nested inside the form tags.

Also, please in the future, please copy/paste the code and use the 3 backticks described in my previous reply instead of taking a screenshot of the code.

1 Like

Hey there. first you need your labels nested in the form, then nest your inputs(type=“radio”)in between the labels. Next you need an id="" for each radio input and an for=“id” for each label. Each radio button needs a name which is identical to make them a group.Hope this helps, good luck.