How to use buttons instead of checkbox?

function totalIt ( ) { var input = document . getElementsByName ( " product " ); var total = 0; for ( var i = 0; i =3)? 29:39; document.getElementById("total").value = "$" + (total*b).toFixed(2); } }

Monday
Tuesday
Wednesday
Thursday
Friday saturday