Html Course Step 51

Hey!
So i was doing the taskst of the HTML course until i got stuck here. I checked the forum and some Youtube videos and it appears to that the Task might be bugged.

The task says:
Add a legend element with the text Is your cat an indoor or outdoor cat? above both of the radio buttons.
In my world i did what they wanted and i also found a video where someone did it exactly like me and it was correct. Am i missing something?

can you post your code here?

i honestly dont know how…

i mean copy & paste your code here, don’t forget to add (‘’') before and after the code


Is your cat an indoor or outdoor cat?
Indoor

Outdoor

okay then, try resetting the code by pressing reset button below “Check Your Code” and add Legend above <label><input id="indoor" type="radio" name="indoor-outdoor" value="indoor"> Indoor</label> . you can add legend element like this<legend>Your Text</legend>

Did what you suggested. It gives me the same error though…


can you copy your code from the site?

there’s typo there, you type “ledgend” instead of “legend” try fixing your typo

2 Likes

…oof… thats… im sorry :smiley:
But the code worked anyway. i was assuming with a typo the code wouldnt even put out the line…
anyway thanks for helping me out

2 Likes

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