forked from dankgarlic1/For-your-Pookie
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
169 lines (156 loc) · 4.45 KB
/
index.html
File metadata and controls
169 lines (156 loc) · 4.45 KB
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="./styles.css" />
</head>
<body>
<div class="container">
<div>
<h1 class="header_text1">Baby Please can you forgive me?</h1>
<h1 class="header_text">I know i messed up but can you give your baby another chance 🥹? </h1>
</div>
<div class="gif_container">
<img
src="https://media1.giphy.com/media/v1.Y2lkPTc5MGI3NjExcDdtZ2JiZDR0a3lvMWF4OG8yc3p6Ymdvd3g2d245amdveDhyYmx6eCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9cw/cLS1cfxvGOPVpf9g3y/giphy.gif"
alt="Cute animated illustration"
/>
</div>
<div class="buttons">
<button class="btn" id="yesButton" onclick="nextPage()">
awwww yesss my babby
</button>
<button
class="btn"
id="noButton"
onmouseover="moveButton()"
onclick="moveButton()"
>
NOOOOOO I DONT WANT TO TALK TO YOU 🥹
</button>
<script>
function nextPage() {
window.location.href = "yes.html";
}
function moveButton() {
var x =
Math.random() *
(window.innerWidth -
document.getElementById("noButton").offsetWidth) -
85;
var y =
Math.random() *
(window.innerHeight -
document.getElementById("noButton").offsetHeight) -
48;
document.getElementById("noButton").style.left = `${x}px`;
document.getElementById("noButton").style.top = `${y}px`;
}
</script>
</div>
</div>
</body>
</html>
<!-- <!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="./styles.css" />
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
width: 100vw;
margin: 0;
background-color: rgb(189, 225, 122);
overflow: auto;
}
.container {
text-align: center;
padding: 10px;
box-sizing: border-box;
}
.header_text {
font-family: "Nunito", sans-serif;
font-size: 4vw;
font-weight: bold;
color: rgb(255, 255, 255);
margin: 5px 0;
}
.gif_container {
margin: 20px 0;
}
img {
max-width: 100%;
height: auto;
}
.buttons {
display: flex;
flex-direction: column;
gap: 20px;
margin-top: 20px;
}
.btn {
background-color: #ffffff;
color: rgb(233, 48, 48);
padding: 15px 32px;
text-align: center;
font-size: 1.5vw;
cursor: pointer;
border: none;
border-radius: 12px;
transition: background-color 0.3s ease;
}
.btn:hover {
background-color: #f0f0f0;
}
.btn:focus {
outline: none;
}
@media only screen and (max-width: 414px) {
.header_text {
font-size: 6vw;
}
.btn {
padding: 10px 20px;
font-size: 4vw;
}
}
</style>
</head>
<body>
<div class="container">
<h1 class="header_text">Pookie!</h1>
<h1 class="header_text">Wanna go out with me 🙂?</h1>
<h1 class="header_text">You can yap as much as you want 😊.</h1>
<div class="gif_container">
<img
src="https://media1.giphy.com/media/v1.Y2lkPTc5MGI3NjExcDdtZ2JiZDR0a3lvMWF4OG8yc3p6Ymdvd3g2d245amdveDhyYmx6eCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9cw/cLS1cfxvGOPVpf9g3y/giphy.gif"
alt="Cute animated illustration"
/>
</div>
<div class="buttons">
<button class="btn" id="yesButton" onclick="nextPage()">
My Pookie 🥰
</button>
<div style="width: 5"></div>
<button class="btn" id="noButton" onmouseover="moveButton()">
Pretty Please 🥹
</button>
</div>
</div>
<script>
function nextPage() {
window.location.href = "yes.html";
}
function moveButton() {
const button = document.getElementById("noButton");
const x = Math.random() * (window.innerWidth - button.offsetWidth);
const y = Math.random() * (window.innerHeight - button.offsetHeight);
button.style.position = "absolute";
button.style.left = `${x}px`;
button.style.top = `${y}px`;
}
</script>
</body>
</html> -->