html
html
1
2
3
4
5
6
7
8
<!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
body {
color: white;
background-color: black;
}
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
function write (str) {
var span = document.createElement("SPAN");
var t = document.createTextNode(str);
span.appendChild(t);
document.body.appendChild(span);
}
function newLine () {
var br = document.createElement("BR");
document.body.appendChild(br);
}
window.onload = function () {
write ("some text ");
var n = 10;
write (n);
newLine ();
write ("hello");
newLine ();
write (5 + 3);
}
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run