this is what i achieved so far. With the button i can get scores to add up to total. but at the Score it is not updated everytime.
<script>
function True(){
score5=1;
alert("Correct");
total=score1+score2+score3+score3+score5;
}
</script>
<input type="button" value="True" onClick="True()">
<h2>Score:<script>document.write(total)</script><h2>