-
Notifications
You must be signed in to change notification settings - Fork 0
/
script.js
61 lines (34 loc) · 817 Bytes
/
script.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
function myfunction() {
console.log('Hello!');
}
myfunction()
const mybutton = document.getElementById("Click-Me")
mybutton.addEventListener("Mauseenter", myfunction)
function withParameneters (name) {
const greeting = "greeeting" + name
console.log(greeting)
}
withParameneters (Hans)
withParameneters (Leo)
function sum(numberA, numberB) {
return numberA + numberB
}
const totalA = sum(2, 3)
console.log(totalA)
function setThemeToBright () {
}
function setThemeToDark () {
}
function myfunction () {
console.log("hello");
}
const Publish = document.getElementById ("button")
Publish.addEventListener ()
(
id: "Avisen Friheten"
redaktør: "Hans Jørgen Mala Milde", "Alexander N. Sørnes",
tags-liste:
author:
email:
createdAT: "Dato", "Streng"
)