Skip to content
This repository was archived by the owner on Sep 11, 2021. It is now read-only.

Commit 334145b

Browse files
committed
Make only one radio selectable
1 parent ce78386 commit 334145b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

public/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,21 +72,21 @@
7272
<div class="mt-2">
7373
<div>
7474
<label class="inline-flex items-center">
75-
<input type="radio" class="sr-only" name="radio1" value="1">
75+
<input type="radio" class="sr-only" name="radio" value="1">
7676
<span class="form-radio text-indigo-700" aria-hidden="true"></span>
7777
<span class="ml-2">Option 1</span>
7878
</label>
7979
</div>
8080
<div>
8181
<label class="inline-flex items-center">
82-
<input type="radio" class="sr-only" name="radio2" value="2">
82+
<input type="radio" class="sr-only" name="radio" value="2">
8383
<span class="form-radio text-green-600" aria-hidden="true"></span>
8484
<span class="ml-2">Option 2</span>
8585
</label>
8686
</div>
8787
<div>
8888
<label class="inline-flex items-center">
89-
<input type="radio" class="sr-only" name="radio3" value="3">
89+
<input type="radio" class="sr-only" name="radio" value="3">
9090
<span class="form-radio text-pink-600" aria-hidden="true"></span>
9191
<span class="ml-2">Option 3</span>
9292
</label>

0 commit comments

Comments
 (0)