diff --git a/JS_freecodecamp/index.htm b/JS_freecodecamp/index.htm deleted file mode 100644 index 03c8896..0000000 --- a/JS_freecodecamp/index.htm +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - Document - - - - - Hello World! - - - \ No newline at end of file diff --git a/JS_freecodecamp/script.js b/JS_freecodecamp/script.js deleted file mode 100644 index 592f786..0000000 --- a/JS_freecodecamp/script.js +++ /dev/null @@ -1 +0,0 @@ -console.log("Hello world"); \ No newline at end of file diff --git a/JS_freecodecamp/style.css b/JS_freecodecamp/style.css deleted file mode 100644 index e69de29..0000000 diff --git a/JS_freecodecamp/variables.js b/JS_freecodecamp/variables.js deleted file mode 100644 index e43a4b2..0000000 --- a/JS_freecodecamp/variables.js +++ /dev/null @@ -1,6 +0,0 @@ -let firstName, lastName; -firstName = 'Geir'; -lastName = 'Jerstad'; -console.log(firstName, lastName); -const JUL_2024 = '24.12.2024'; -console.log(JUL_2024); \ No newline at end of file diff --git a/MDN/index.html b/MDN/index.html deleted file mode 100644 index 6d09d34..0000000 --- a/MDN/index.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - Document - - - - - - -

Overskrift

-

Overskrift

-

Overskrift

-

Overskrift

- -
Exercitation et ad cillum laboris proident id eiusmod cupidatat. Proident deserunt ipsum in aute magna - adipisicing Lorem velit exercitation eu ut. Mollit in minim est in Lorem ut adipisicing sunt elit veniam. Culpa - sunt eu excepteur nulla laboris qui in. Quis pariatur commodo esse mollit exercitation laboris dolore. Esse enim - consequat aute nisi anim aute qui culpa dolore mollit occaecat labore dolor est. Ex laboris enim et - reprehenderit do eiusmod consequat dolor esse.
-
Exercitation et ad cillum laboris proident id eiusmod cupidatat. Proident deserunt ipsum in aute magna - adipisicing Lorem velit exercitation eu ut. Mollit in minim est in Lorem ut adipisicing sunt elit veniam. Culpa - sunt eu excepteur nulla laboris qui in. Quis pariatur commodo esse mollit exercitation laboris dolore. Esse enim - consequat aute nisi anim aute qui culpa dolore mollit occaecat labore dolor est. Ex laboris enim et - reprehenderit do eiusmod consequat dolor esse.
-
Exercitation et ad cillum laboris proident id eiusmod cupidatat. Proident deserunt ipsum in aute magna - adipisicing Lorem velit exercitation eu ut. Mollit in minim est in Lorem ut adipisicing sunt elit veniam. Culpa - sunt eu excepteur nulla laboris qui in. Quis pariatur commodo esse mollit exercitation laboris dolore. Esse enim - consequat aute nisi anim aute qui culpa dolore mollit occaecat labore dolor est. Ex laboris enim et - reprehenderit do eiusmod consequat dolor esse.
-
Exercitation et ad cillum laboris proident id eiusmod cupidatat. Proident deserunt ipsum in aute magna - adipisicing Lorem velit exercitation eu ut. Mollit in minim est in Lorem ut adipisicing sunt elit veniam. Culpa - sunt eu excepteur nulla laboris qui in. Quis pariatur commodo esse mollit exercitation laboris dolore. Esse enim - consequat aute nisi anim aute qui culpa dolore mollit occaecat labore dolor est. Ex laboris enim et - reprehenderit do eiusmod consequat dolor esse.
- - - \ No newline at end of file diff --git a/MDN/style.css b/MDN/style.css deleted file mode 100644 index 68d09cf..0000000 --- a/MDN/style.css +++ /dev/null @@ -1,13 +0,0 @@ -div.purple { - background-color: purple; - color: white; - padding: 10px; - border: solid 4px blue; - margin: 20px; - text-align: center; - font-size: 150%; -} -h1 { - background-color: black; - color: bisque; -} \ No newline at end of file diff --git a/oppgaver/uke3/kan_du_returnere.html b/oppgaver/uke3/kan_du_returnere.html index e69de29..d01f779 100644 --- a/oppgaver/uke3/kan_du_returnere.html +++ b/oppgaver/uke3/kan_du_returnere.html @@ -0,0 +1,11 @@ + + + + + + Document + + + + + \ No newline at end of file diff --git a/oppgaver/uke3/krokodille.html b/oppgaver/uke3/krokodille.html index 3d9653a..1368b63 100644 --- a/oppgaver/uke3/krokodille.html +++ b/oppgaver/uke3/krokodille.html @@ -46,9 +46,8 @@ } function check() { let operator = document.getElementById("operator").value; - console.log(operator) - if (operator == '=') { - operator == '=='; + if (operator = '=') { + operator = '=='; } console.log(eval(number1 + operator + number2)); if (eval(number1 + operator + number2)) { @@ -56,7 +55,6 @@ document.getElementById('points').innerHTML = `${points}`; } else { alert('It is Wrong! to use Alert'); - console.log(operator) } } diff --git a/oppgaver/uke3/lyspære.html b/oppgaver/uke3/lyspære.html index f8faa0b..625be2c 100644 --- a/oppgaver/uke3/lyspære.html +++ b/oppgaver/uke3/lyspære.html @@ -34,7 +34,7 @@ on = true; } else { document.getElementById('bulb').style.backgroundColor = 'grey'; - document.getElementById('bulb').innerHTML = ''; + document.getElementById('bulb').innerHTML = 'Lyset er av :-('; on = false; } } diff --git a/team/oppgave1/index.html b/team/oppgave1/uke2/index.html similarity index 100% rename from team/oppgave1/index.html rename to team/oppgave1/uke2/index.html diff --git a/team/oppgave1/index2.html b/team/oppgave1/uke2/index2.html similarity index 100% rename from team/oppgave1/index2.html rename to team/oppgave1/uke2/index2.html