how to use queryselector with name in radi code example Example: js queryselector radio checked document.querySelector('[name="your_name"]:checked').value;