reorganizing

This commit is contained in:
brightboost
2021-12-02 21:21:10 +01:00
125 changed files with 4052 additions and 1 deletions
BIN
View File
Binary file not shown.
+2
View File
@@ -0,0 +1,2 @@
//alert("Saying hi from a different file!");
prompt("Hi! How are you?");
+5
View File
@@ -0,0 +1,5 @@
<html>
<script type="text/javascript">
alert("Hi there!");
</script>
</html>
+3
View File
@@ -0,0 +1,3 @@
<html>
<script type="text/javascript" src="ch1_alert.js"></script>
</html>
+13
View File
@@ -0,0 +1,13 @@
let status = "new";
let scared = true;
if (status === "new") {
console.log("Welcome to JavaScript!");
if (scared) {
console.log("Don't worry you will be fine!");
} else {
console.log("You're brave! You are going to do great!");
}
} else {
console.log("Welcome back, I new you'd like it!");
}