Stuck on HTML test

Stuck on HTML test
0
#1

Tried it a couple times and didnt get it. Watched the video. Even copied it exactly from the video and still will not pass.

#2

We should be able to help you if you share your formatted code.

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 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.

Note: Backticks are not single quotes.

#3
<input id="indoor" type="radio" name="indoor-outdoor">
<label for="indoor>Indoor</label>
<input id="outdoor" type="radio" name="indoor-outdoor">
<label for="outdoor">Outdoor</label>
#4

I passed all besides it says "Give your radio buttons the name attribute of indoor-outdoor. And, each of your two radio button elements should be nested in its own label element. I thought they were named indoor-outdoor, and i thought they were in their own label element.

#5

This line is missing a ".

#6

I feel really dumb right now. But what a?

#7

A double quote character "

#8

Gotcha, my bad. Fixed it. Still saying same thing.

#9

What does “nested” mean?

#10

I’m pretty sure it’s just putting indoor in a label element and outdoor in a label element. So then there would be 2 different options. From the way it looks. I don’t know though. I just started a couple days ago.

#11

Nested means to put an element inside an other

For example, one of the first challenges you were nesting a p element inside a main element. In an other you have also nested an img element inside an a element.

<main>
   <p></p>
</main>

<a><img></a>
#12

Ok… so can you help me best it? And the indoor-outdoor for the name attribute I dont understand because that is what I did I thought…

#13

Now that you know what “nested” mean, how do you think you should do this?

#14

I got it. Thank you. It was not composed that way on the video so I was really confused of why it would not pass. LOL