Need help for the answer of Create a Set of Radio Buttons

Need help for the answer of Create a Set of Radio Buttons
0

#1

I am literally confused as to finding the answer, I have 4/7 of the objectives done, been stumped on this questions for about half an hour, help…

Your page should have two radio button elements.
Give your radio buttons the name attribute of indoor-outdoor.
Each of your two radio button elements should be nested in its own label element.

(the ones I have left)

CatPhotoApp

Click here to view more cat photos.

A cute orange cat lying on its back.

Things cats love:

  • cat nip
  • laser pointers
  • lasagna

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats
Indoor Outdoor Submit ```

#2

Hey @Plasmanite,
Whenever you need help with any of the Freecodecamp challenges, use the “Ask For Help” button on your challenge page. It gives the link to the challenge as well as posts the code properly here on forum.


#3

but for me it said i need to post this to get help


#4

Well, but the “Ask for help” button is meant for the reason i mentioned you.
You are doing it in wrong manner.
Try the method i told you.


#5

I can’t see your code, but it looks like you are missing the type=“radio” within your input element.


#6

thanks, the reson why I failed was because I tried to change the existing “text” type into the radio type when you are actually meant to make a whole new type