dio>
        </ion-radio-group>

        <br />

        <ion-button type="submit" size="small">Submit</ion-button>
      </form>
    </div>

    <script>
      const form = document.getElementById('my-form');
      const favFruit = form.querySelector('ion-radio-group');

      form.addEventListener('submit', (event) => submit(event));
      favFruit.addEventListener('ionChange', (event) => validateRadioGroup(event));

      const validateRadioGroup = (event) => {
        favFruit.classList.add('ion-touched