Skip to content

Commit 9d0268e

Browse files
committed
Rephrase slightly tricky idea
I started by just fixing a typo ("radio groups ... are a group") but quickly saw this is a little tough to parse even after fixing the typo. I rephrased the sentence to make it a little more explicit and verbose, and I think it's a little easier to understand.
1 parent 4abd928 commit 9d0268e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

exercises/08.inputs/03.problem.radio/README.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ that's the best option. Instead, let's use a radio group.
88

99
📜 You can [learn about radio groups on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio)
1010

11-
What's interesting about radio groups is that they are a group of inputs that
12-
share the same name. Only one of them can be selected at a time. Each radio
13-
input needs its own `label`. To label the entire group, you can use a
14-
`<fieldset>` and a `<legend>`.
11+
What's interesting about radio groups is that each radio group can contain
12+
multiple inputs that share the same name. Only one of them can be selected at
13+
a time. Each radio input needs its own `label`. To label the entire group, you
14+
can use a `<fieldset>` and a `<legend>`.
1515

1616
Similar to checkboxes, to set the default value, you need to add the `checked`
1717
attribute to the input you want to be selected by default.

0 commit comments

Comments
 (0)