diff --git a/eloquentjavascript/functions.js b/eloquentjavascript/functions.js new file mode 100644 index 0000000..0a7b887 --- /dev/null +++ b/eloquentjavascript/functions.js @@ -0,0 +1,3 @@ +const square = function(x) { + return x * x; +} \ No newline at end of file diff --git a/eloquentjavascript/loopingatriangle.html b/eloquentjavascript/loopingatriangle.html new file mode 100644 index 0000000..0a6db78 --- /dev/null +++ b/eloquentjavascript/loopingatriangle.html @@ -0,0 +1,22 @@ + + + + + + Document + + + +
+ + + \ No newline at end of file diff --git a/eloquentjavascript/script.js b/eloquentjavascript/test_script.js similarity index 100% rename from eloquentjavascript/script.js rename to eloquentjavascript/test_script.js diff --git a/intro_js/bakgrunnsfarge.html b/intro_js/bakgrunnsfarge.html new file mode 100644 index 0000000..447c9c6 --- /dev/null +++ b/intro_js/bakgrunnsfarge.html @@ -0,0 +1,89 @@ + + + + + + + Bytting av bakgrunnsfarge på nettleser + + + + +
+

Class List

+ +
farge1
+
farge2
+
farge3
+ + + +
+
+
+ + + + \ No newline at end of file diff --git a/intro_js/stoppeklokke.html b/intro_js/stoppeklokke.html new file mode 100644 index 0000000..a1c0b71 --- /dev/null +++ b/intro_js/stoppeklokke.html @@ -0,0 +1,39 @@ + + + + + + Document + + +
+ +
+ + + +
+

+

+
+ + + \ No newline at end of file diff --git a/intro_js/variablerN4m1_2.html b/intro_js/variablerN4m1_2.html new file mode 100644 index 0000000..4154ae4 --- /dev/null +++ b/intro_js/variablerN4m1_2.html @@ -0,0 +1,24 @@ + + + + + + Let & var scopes + + + + + \ No newline at end of file