html
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
<!doctype html>
<html>
<head>
<title>🍫 </title>
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js">
</script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta2/css/all.min.css">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body onclick="effect()">
<div id="load">
<img class="load-pic" src="https://api.sololearn.com/Uploads/Avatars/14245547.jpg"/>
<div class="load-text">
<span class="chat1">Welcome to <b>Chat </b>Bot</span>
</div>
<button id="load-btn">Loading</button>
<button id="load-btn1">Chat now</button>
</div>
<header id="top">
<div class="dp" id="d-p">
<img id="pic" src="https://api.sololearn.com/Uploads/Avatars/14245547.jpg"/>
</div>
<div class="name">Somu</div>
<div class="status" id="status">online</div>
Enter to Rename, Shift+Enter to Preview
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
*{
padding:0;
margin:0;
box-sizing:border-box ;
}
body{
height:100vh;
width:100%;
background: black;
background:url("https://source.unsplash.com/random");
background-size:cover;
background-position:center ;
background-repeat:no-repeat ;
font-family:serif;
}
#load{
position:absolute ;
height:100vh;
width:100%;
background: ghostwhite;
z-index:999;
display:flex;
justify-content:center ;
align-items:center ;
color: white;
}
.message{
Enter to Rename, Shift+Enter to Preview
js
js
1
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run