add2f.html: adds 2 numbers

<script>
    var num1, num2, sum;
    num1 = prompt("Enter first number");
    num2 = prompt("Enter second number");
    sum = parseFloat(num1) + parseFloat(num2); // "+" means "add"
    alert("Sum = " + sum);  // "+" means combine into a string
</script>