How to add the form tag

" Each of your radio button elements should be added within the form tag"
I don’t know where to add the form tag

Indoor Outdoor

Hello @BrendaCarolina,

Could you share your code with us and the link of the challenge? To check what you did until now :slight_smile:

I actually typed it below, I don’t know why it’s not showing :roll_eyes:

Schermata 2022-03-15 alle 16.59.08

i will give you an example:

> <form>
>   <input type="radio" name='demo' value = '1'> choice1 
>   <input type="radio" name='demo' value = '2'> choice2
>   <input type="radio" name='demo' value = '3'> choice3
>   <input type="radio" name='demo' value = '4'> choice4
> </form>

since all the above radio button share common name, you will only be able to choose one, other wise you will be selecting multiple radio buttons.

Thank you, you can use the performed text into the editor when you want to share your code:

It looks like you didn’t nest your label/input into the form tag. The original code is:

<form action="">
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>

So, as the challenge asks, you should put your label/input into the form tag. The syntax of your label/input looks good

Link of the challenge:

1 Like

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