I\'m very new to Javascript, so I assume this is a stupid mistake.
function upvote() { var score = parseInt(document.getElementById(\'voteScore\').innerHTML)
score++ increments score, you don't need to assign it back to score. Either remove the score = or change score++ to score+1.
score++
score
score =
score+1