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
<!--created by programmer (T.R)-->
<!DOCTYPE html>
<html>
<head>
<title>About you </title>
</head>
<body>
<header>
<div id="cubs" style="background-color:cyan;color:black">
<p text-align="right">🍻<i> created by programmer (T.R)</i></p>
</div>
</header>
<button onclick="strt()" style="height:100px;width:150px;color:blue;background-color:magenta;">start</button>
<br>
<br>
<br>
<button id=1 onclick="key1()" style="height:70px; width:70px; background-color:green; display:inline;">🍁🍁🍁🍁🍁🍁</button>
<button id=2 onclick="key2()" style="height:70px; width:70px; background-color:red; display:inline;">🌹🌹🌹🌹🌹</button>
<button id=3 onclick="key3()" style="height:70px; width:70px; background-color:yellow; display:inline;">🎒🎒🎒🎒🎒🎒</button>
<button id=4 onclick="key4()" style="height:70px; width:70px; background-color:Orange; display:inline;">🌺🌺🌺🌺🌺🌺</button>
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
body {
margin-right:80px;
margin-bottom:100px;
margin-left:80px;
margin-top:100px;
background-color:cream;
}
#1{
text-align:center;
text-shadow:10px;
background-color:green;
}
Enter to Rename, Shift+Enter to Preview
js
js
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
//created by programmer(T.R)
function strt()
{
alert("choose your favourite color and it will tell you something about you ");
}
function key1()
{
alert("your choice is green");
document.write("<h1>you are ambitious and believe in actions </h1>") ;
setTimeout(function(){
document.write("<h1>you have good leadership skill and love silent environment</h1>");},1000);
document.write("<p>🌿🌿🌿🌿🌿🍀🌿🌿🌿🌿🌿</p>");
}
function key2(){
alert("your choice is red") ;
document.write("<h1>your anger status is high and you like football</h1>");
setTimeout(function(){
document.write("<h1>you are hard working and very exited person.you have very impressive personality </h1>");},1000);
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run