Please guys, Your help is needed for step 50

The code for my legend element is not passing. Here is the code

    <legend> <Is your cat an indoor or outdoor cat?></legend>   

        <label><input id="indoor" type="radio" name="indoor-outdoor" value="indoor"> Indoor</label>

        <label><input id="outdoor" type="radio" name="indoor-outdoor" value="outdoor"> Outdoor</label>

1 Like

I’ve edited your post 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.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

Do you have a link to the lesson? Context is always nice :smile:

Right off the bat, do they want you to have two fieldsets? I would guess they only want one since you only have two <input>s.

Other that I notice you first opening tag has a capital “F”. I don’t think this should effect the rendering, but maybe it would throw of the lessons tests.

Like @8-bitgaming mentioned, you need to nest the 2 input fields in a fieldset. This should fix the issue.

I don’t know how to include the link to the lesson. only the code that i am trying to fix. I would greatly appreciate it, if you can show me how to put the link to the lesson of any step I encounter a problem with.
Thank you

Remove the tag < before Is and the tag > after ?.
That should do it.

Thanks a million. It worked

1 Like

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