Hei could someone help me with the code. I get error: Uncaught SyntaxError: Unexpected token ‘{’
I went trough the code a few times and i have no idea where is a mistake.
<html>
<head>
<title>My website</title>
</head>
<body>
<script>
var temp = prompt("what is your temp");
if (temp < 36.5){
console.log("your temperature is below normal.");
}
else if ((36.5 < temp) && (temp < 37.5)){
console.log("your temperature is normal.");
}
else (temp > 37.5){
console.log("your temp is above normal");
}
</script>
</body>
</html>