Well, I don’t know how many input
type of radios and checkboxes you have, but this should get you want you need:
$(document).ready(function() {
$('input:radio').change(function() {
// get the value
var newValue = $(this).val();
// Update the div.score
$('div.score').text(newValue);
});
});
PS: Your radio input need to have the same name, if you do not want more than one radio to be selected.
See CodePen