deleted som folder and cleaned up a little bit
This commit is contained in:
parent
845c6fa62f
commit
604e8181c6
|
@ -1,14 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
<link rel="stylesheet" href=""/>
|
||||
<script src="script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
Hello World!
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1 +0,0 @@
|
|||
console.log("Hello world");
|
|
@ -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);
|
|
@ -1,45 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
<link rel="stylesheet" href="style.css"/>
|
||||
<script src="script.js"></script>
|
||||
</head>
|
||||
<script>
|
||||
|
||||
</script>
|
||||
<body>
|
||||
<style>
|
||||
|
||||
</style>
|
||||
<h1>Overskrift</h1>
|
||||
<h1>Overskrift</h1>
|
||||
<h1>Overskrift</h1>
|
||||
<h1>Overskrift</h1>
|
||||
|
||||
<div class="purple">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.</div>
|
||||
<div>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.</div>
|
||||
<div>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.</div>
|
||||
<div>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.</div>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -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;
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</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)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue