html
html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!-- BY: A.L THE FLAME !-->
<!doctype html>
<html>
<head>
</head>
<body>
<p>
</p>
</body>
</html>
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
/* BY: A.L THE FLAME */
body {
padding : 10px 10px 11px 10px;
background-color: black;
box-shadow: 0 0 30px blue;
}
p {
color: white;
padding: 15px 15px 15px 15px ;
border: 3px black solid;
font-weight: bold;
font-size: 18px;
transition-duration: 2s;
}
/* BY: A.L THE FLAME */
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
// buy: A.L THE FLAME!!
var text = "Hi friends , I wanna say big THANKS to all who like my codes , answer my questions , help me program my codes , and again realy big thanks to: @burey ,@antony syv ,@Michalle , @maz ,@risiraj deori , @Rodgers and @Siddhart Saraf!!";
var speed;
var speed = prompt("Please select your reading speed between 0-5 ( if the number is smaller, for example 0, the letter will be written slowly , if the number is higher , for example 5 , the letter will written faster!! ")
// check the input
if ( speed == 0) {
var word = text.split("");
var i = 0;
var interval = setInterval(writeText, 160); // The speed of text writing (160)
function writeText() {
var p = document.getElementsByTagName("p")[0];
if (i < word.length) {
p.innerHTML += word[i];
i++;
} else {
clearInterval(interval);
alert(" and the bigest thank go to @Rodgers!! u r awesome , good friend , always support just keep it up ")
}
}
}
// check the input
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run