creating radio logic with js amd css code example Example: radio button group get value javascript $('input[name=gender]:checked').val();