diff --git a/euler.js b/euler.js index 06e833c..5351de8 100644 --- a/euler.js +++ b/euler.js @@ -12,9 +12,10 @@ function sum(a,b,n) function GetValues() { + const Introduction = document.getElementById("Intro").innerHTML = "This is a page to calculate the sum of multiples of certain range" num1 = document.getElementById("num1").value; num2 = document.getElementById("num2").value; limit = document.getElementById("limit").value; - sum(num1,num2,limit); + sum(Introduction,num1,num2,limit); } \ No newline at end of file diff --git a/index.html b/index.html index 553c83c..92f1995 100644 --- a/index.html +++ b/index.html @@ -4,6 +4,7 @@ +