JSFiddle - React, Tailwind, and code Playground
by AndyE
HTML
<form>
<input type="radio" name="font"> Arial<br>
<input type="radio" name="font"> Times New Roman<br>
<input type="radio" name="font"> Monaco<br>
</form>
JavaScript
$('form input').each(function(i, e) {
alert(this.nextSibling.nodeValue)
})