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
function write (str) {
var div = document.createElement("DIV")
var t = document.createTextNode(str);
div.appendChild(t);
document.body.appendChild(div);
}
window.onload = function () {
write ("some text");
var n = 10;
write (n);
write ("hello");
write (5 + 3);
}
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run