Lesson 44 - radio button

I honestly don’t understand the requirement:

"You can use radio buttons for questions where you want only one answer out of multiple options.

Here is an example of a radio button with the option of cat: <input type="radio"> cat. Remember that input elements are self-closing.

Before the text input, add a radio button with the option set as:

Indoor"

My solution is this

Indoor:

What am I doing wrong? What are they requesting?

mod edit: adding link to challenge for ref

This is a radio button example with the word cat next to it.

You need to do the exact same thing but with the word Indoor next to it

1 Like

thanks but it doesnt work. im stuck here for a few hours

Please post your current code

Indoor: <input type="radio">
        <indoor name="catphotourl" placeholder="cat photo URL" required>```

you gotta follow the example as given
Here it is again:

and here is your attempt:

You just need to copy the given example (which I have now posted twice here to help you see it better) and change one value from cat to Indoor

Please try.

1 Like

Thank you <3 It worked! I appreciate your effort!

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.