html
html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!-- Created by Gekoda -->
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body contenteditable>
<!--How can i make this work as the real function, for example: eval turns a string or calvulation into an integer calculation print("hi") and making it behave as javascript code?-->
<script>
function print(val){
document.body.innerHTML += val + "<br>";
}
</script>
</body>
</html>
Enter to Rename, Shift+Enter to Preview
css
css
1
2
3
4
5
/* Created by Gekoda */
body {
}
Enter to Rename, Shift+Enter to Preview
js
js
1
2
3
4
5
6
7
8
// Created by Gekoda
var val = prompt("Enter your name, please");
window.onload=function(){
print("hi");
print ("hello");
print(val);
};
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run