JSFiddle - React, Tailwind, and code Playground

JavaScript

var gender = $('[name=Basics.Gender]');
console.log(gender);