Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Document</title>
- <style>
- #b1{
- background: red;
- height: 60px;
- width: 80px;
- transition: 0.4s;
- }
- #b1:hover{
- width: 120px;
- }
- #text1{
- margin-top: -50px;
- margin-left: 140px;
- }
- </style>
- </head>
- <body>
- <h2>Hi, This is a Website that <b>i</b> made it!</h2>
- <h3>So pls follow me on castle, wait...</h3>
- <h2>Didn't you come from my castle, then why you don't <b>FOLLOW ME?</b></h2>
- <h4>just kidding but follow me man follow me. <i>thanks.</i></h4>
- <button id="b1" onclick="B1()">I Followed you!</button>
- <h4 id="text1"></h4>
- <script>
- let i = 0
- let j = 0
- let t1 = document.getElementById("text1");
- function B1(){
- if (i == 0){
- t1.innerHTML = "Thanks!";
- i++;
- j++;
- }
- else if (i == 1){
- t1.innerHTML = "Ok i got it!";
- i++;
- j++;
- }
- else if (i == 2){
- t1.innerHTML = "Ok ok Chill."
- i++;
- j++;
- }
- else if (i == 3){
- t1.innerHTML = "o my godddd, got it."
- i++;
- j++;
- }
- else if (i == 4){
- t1.innerHTML = "π‘";
- i++;
- j++;
- }
- else if (i == 5){
- t1.innerHTML = "π‘π‘π‘";
- i++;
- j++;
- }
- else if (i == 6){
- t1.innerHTML = "You clickeed me " + j + " fricking timesπ‘";
- i++;
- j++;
- }
- else if (i == 7){
- t1.innerHTML = "π‘π‘π‘π‘";
- i++;
- j++;
- }
- else if (i == 8){
- t1.innerHTML = "i'm out.";
- i = 4;
- j++;
- }
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment