I build a Scoreboard
what it does when someone click the +500 button it will add 500 to the value in the score board i.e it will add 500 to the value of p tag
Right now, you're adding an integer to a string, so you're making a string concatenation.
Change
var value = newScore + 500;
to
var value = parseInt(newScore,10) + 500;