JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.css">
<script src="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js"></script>
<div data-role="page"> 
    <fieldset data-role="controlgroup">
        <legend>Choose a language:</legend>
        <input type="radio" name="langs" id="english-lang" value="english" />
        <label for="english-lang">English</label>
        <input type="radio" name="langs" id="korean-lang" value="korean" />
        <label for="korean-lang">Korean</label>
    </fieldset>
    <br />
    <p>
        <span id="selected_lang"></span>
    </p>
</div>

JavaScript

$("input[name=langs]:radio").bind( "change", function(event, ui) {
    console.log('Lang: '+$(this).val());
    
    $('#selected_lang').html('Language Selected: '+$(this).val());
});