did one of the problems. I feel like I have a good enough grasp on javascript to move on

pull/285/head
Chervix 3 years ago
parent 9efcc8c4bf
commit 260582c7dd

@ -0,0 +1,8 @@
let age = prompt("Enter age: ")
if(age > 18)
{
console.log("You are old enough to drive")
} else
{
console.log(18 - age + " more years until you can drive")
}

@ -5,6 +5,6 @@
</head>
<body>
I am new to javascript. I hope this works
<script src ="./exercise_02/main.js"></script>
<script src ="./exercuse_03/main.js"></script>
</body>
</html>
Loading…
Cancel
Save