Obtenha o valor do botão de rádio JavaScript
document.querySelector('input[name="rate"]:checked').value;
Vast Vole
document.querySelector('input[name="rate"]:checked').value;
document.querySelectorAll('input[name="gender"]:checked').value;