current work

This commit is contained in:
2024-09-17 14:41:00 -05:00
commit fa7ac2949b
13 changed files with 183 additions and 0 deletions

17
4/ifelse.html Normal file
View File

@ -0,0 +1,17 @@
<html><body><script>
let speed = 20;
console.log(`Your current speed is ${speed} mph.`);
if (speed > 25) {
console.log("Slow down!");
} else {
console.log("You're obeying the speed limit.");
}
</script></body></html>