<label><input id="indoor" type="radio" name="indoor-outdoor" value="indoor"
checked> Indoor</label>
what is wrong with this code?
<label><input id="indoor" type="radio" name="indoor-outdoor" value="indoor"
checked> Indoor</label>
what is wrong with this code?
You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!
just add the word checked
to the input
element, making sure there is space between it and other attributes.
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.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.