Because you are not assigning parsed value to value1 and value2, so parseInt(value1) wont change. You can use the below way or change parseInt(value1) to value1 = parseInt(value1) same to value 2 also;
You can also change string to number by adding +
in the front of string
value1 = "10";
value2 = "5";
var calculatedAnswer = parseInt(value1) + parseInt(value2);
console.log(calculatedAnswer)
console.log((+value1) + (+value2))