So, my code is allowing the user to input 2 numbers, num1 and num2. However the addition function is concatenating the numbers rather than adding them. How can I fix this please?
Here is a snippet of the function:
var sum= num1 + num2;
alert(`Sum of ${num1} and ${num2} is ${sum}`);