html
html
1
2
3
4
5
6
7
8
9
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
</body>
</html>
Enter to Rename, Shift+Enter to Preview
css
css
1
2
3
4
5
6
7
body {
background-color: #024;
color: #fff;
}
b,i,a{
color: #0af;
}
Enter to Rename, Shift+Enter to Preview
js
js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
var x = "Hello World. This is my code to write text char by char using JavaScript , Hope You like it. Leave a comment and follow me on Solo Learn Here.";
var i=0;
var loop = setInterval(function(){
document.body.innerHTML+=(x[i]);
i++;
if(i>=x.length){
clearInterval(loop);
document.body.innerHTML = document.body.innerHTML.replace("Here","<a href=' https://www.sololearn.com/Profile/1276668/?ref=app'>Here</a>");
document.body.innerHTML = document.body.innerHTML.replace("like","<b>like</b>");
document.body.innerHTML = document.body.innerHTML.replace("comment","<i>comment</i>");
}
},50);
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run