html
html
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<html>
<head>
<title>How do you do this??</title>
</head>
<body>
<p>How do people get so many followers so quickly?! Is it because web codes are better than actual scripts? Do you guys want me to post more web codes?? I don't know but seriously how do people get so many of them? I make cool scripts in Java and I only have 3 followers and I work really hard to make them :(</p>
<center><a href="#bottom">please click this hyperlink to make me happy 🥺</a></center>
<div class="vspace"></div>
<button id="bottom" onclick="question()">Please click me</button>
</body>
</html>
css
css
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
body {
background-color: cornflowerblue;
}
html {
scroll-behavior: smooth;
}
p {
color: cornflowerblue;
background-color: midnightblue;
font-family: menlo, courier new;
padding: 15px;
border-radius: 15px;
}
a {
color: cornflowerblue;
background-color: midnightblue;
font-family: menlo, courier new;
padding: 5px;
border-radius: 15px;
font-size: 10px;
}
.vspace {
background-color: cornflowerblue;
height: 1000px;
js
js
1
2
3
4
5
6
7
8
9
10
11
12
alert("Please don't be lazy and actually read the entire thing, I know that a lot of you just like the code, post a comment that says 'good', never hit run, and forget this exists");
function question() {
let question = confirm("Will you follow me?");
if (question==true) {
alert("Thank you 🙏❤")
scrollTo(0, 0);
} else {
alert("Aw man 😢");
scrollTo(0, 0);
}
}
BROWSER
Console
Run