diff --git a/cgi/cgi_test.pl b/cgi/cgi_test.pl index 17917a6..a5865c7 100755 --- a/cgi/cgi_test.pl +++ b/cgi/cgi_test.pl @@ -46,7 +46,7 @@ -

+



@@ -65,7 +65,7 @@ var result = ""; if(weight > 0 && height > 0){ var BMI = Math.round(weight/(height/100*height/100)); -document.getElementById("BMI").innerHTML = "Your BMI is" + BMI; +document.getElementById("BMI").innerHTML = "Your BMI is " + BMI; if(BMI < 18.5){ document.getElementById("BMI-result").innerHTML= "You are too thin."; result="That you are too thin."; @@ -106,9 +106,9 @@ function(message) { console.log("Email Status: " + message); if (message == "OK") { - document.body.innerHTML += "
Email sent - check your junk folder!"; + document.body.innerHTML += "

Email sent - check your junk folder!"; } else { - document.body.innerHTML += "
" + message; + document.body.innerHTML += "

" + message; } } );