JSFiddle - React, Tailwind, and code Playground

by Artem Borovikov

HTML

<div>
  <input type="radio" id="contactChoice1" name="contact" value="email" checked>
  <label for="contactChoice1">Email</label>
</div>

<div>
    <input type="radio" id="contactChoice2" name="contact" value="phone">
<label for="contactChoice2">Phone</label>
</div>

<input type="radio" id="contactChoice3" name="contact" value="mail">
<label for="contactChoice3">Mail</label>