One ‘input’ element is already given in the code. You should follow the instruction:
“Before the text input, add a radio button with the option set as Indoor”. This is very similar to the existing code line. The difference is that instead of the ‘type’ attribute set to ‘text’ you should set it to ‘radio’:
hi there,
if you look at your code below you see an “Indoor:” in front of your inputelement.
Where does it belong? You should comment this out or delete it.
to comment it out ( which i think makes sense) you could write:
I’ve edited your code 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.
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.
We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.
Do you mean why is the word Indoor placed to the right of the input element?
Because we want it to show up on the right of the radio button. (Look at the preview pane and you will see that)
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.
We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.