My Index:
<!DOCTYPE html>
<html>
<head>
<button onclick = Sign_up()>Sign up</button>
<title></title>
<link/>
<script>
function Sign_up()
{
var Age = prompt("What is your Age")
}
</script>
<script src ='script.js'></script>
</head>
<body>
<!--Add your own HTML!-->
</body>
</html>
My script.js:
if (Age < 5)
return ("We are not responsiable for any incounters");
if (Age === 5)
return ("We are not responsiable for any incounters");
if (Age > 5)
return ("Enjoy!");