-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
112 lines (85 loc) · 3.69 KB
/
index.html
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Home Page</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="index.css">
<script src="http://code.jquery.com/jquery-3.3.1.js"></script>
<script src="typed.js"></script>
</head>
<body>
<h1 class="type" id="couleur" style="color:#850606"></h1>
<script type="text/javascript" src="typed.js"></script>
<script type="text/javascript">
const test = () => {
const typed = new Typed(".type", {
strings: [
"Wild Code School",
"19h37",
"Personne dans les environs",
"Tu es venu bosser ton JS tranquille à cette heure-ci,",
"pour avoir une bonne connection et un peu de silence... ",
"...",
"du moins c'est ce que tu pensais...",
"Do you want to play a game ???"
],
typeSpeed: 70,
backSpeed: 30,
smartbackspace: true,
})
}
const test2 = () => {
let theButton1 = document.createElement("input")
theButton1.setAttribute("type", "submit")
theButton1.setAttribute("name", "submit")
theButton1.setAttribute("value", "or Die! MAKE YOUR CHOICE!!(run away)")
theButton1.setAttribute("class", "button1")
theButton1.setAttribute("onclick", "location.href='BOUMBOUM.html'")
document.body.appendChild(theButton1)
let theButton2 = document.createElement("input")
theButton2.setAttribute("type", "submit")
theButton2.setAttribute("name", "submit")
theButton2.setAttribute("value", "Live...(investigate)")
theButton2.setAttribute("class", "button2")
theButton2.setAttribute("onclick", "location.href='choixperso.html'")
document.body.appendChild(theButton2)
let flash1 = document.createElement("div")
flash1.setAttribute("class","bg")
document.body.appendChild(flash1)
let flash2 = document.createElement("div")
flash2.setAttribute("class","lightning flashit")
document.body.appendChild(flash2)
// document.body.style.backgroundImage="url(https://media.giphy.com/media/NARhtERAbRbkQ/giphy.gif)"
document.getElementById("couleur").style.color="#FF0000"
let video1 = document.createElement("iframe")
video1.setAttribute("width","1")
video1.setAttribute("height","1")
video1.setAttribute("src","https://www.youtube.com/embed/wLlut9sqkR0?rel=0&controls=0&showinfo=0&autoplay=1")
video1.setAttribute("frameborder","0")
video1.setAttribute("allow","autoplay; encrypted-media")
video1.setAttribute("allowfullscreen","false")
document.body.appendChild(video1)
/* <iframe width="361" height="25" src="https://www.youtube.com/embed/wLlut9sqkR0?rel=0&controls=0&showinfo=0&autoplay=1" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen="false"></iframe>*/
// document.getElementById("bg").setAttribute("background", "url(https://media.giphy.com/media/NARhtERAbRbkQ/giphy.gif)")
// document.getElementById("lightning").setAttribute("background", "url(https://media.giphy.com/media/NARhtERAbRbkQ/giphy.gif)")
}
const video2 = () =>{
let video2 = document.createElement("iframe")
video2.setAttribute("width","1")
video2.setAttribute("height","1")
video2.setAttribute("src","https://www.youtube.com/embed/vhSHXGM7kgE?rel=0&controls=0&showinfo=0&autoplay=1")
video2.setAttribute("frameborder","0")
video2.setAttribute("allow","autoplay; encrypted-media")
video2.setAttribute("allowfullscreen","false")
document.body.appendChild(video2)
}
test()
const test3 = () => {
setTimeout(test2,32000)
setTimeout(video2,37000)
}
test3()
</script>
</body>
</html>