We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6ad92d commit a97324aCopy full SHA for a97324a
JAGL/JAGL.html
@@ -1,10 +1,13 @@
1
JAGL - Just a Golf Language<br>
2
-<input type="text" placeholder="code" id="code">
3
-<input type="text" placeholder="input" id="input"><br>
+<input type="text" placeholder="code" id="c">
+<input type="text" placeholder="input" id="i"><br>
4
output:<p id="out"></p>
5
-<input type="button" value="Execute" onclick="ce()">
+<input type="button" value="Execute" onclick="ce()"><br>
6
<script>
7
-function ce():
8
- i=prompt("Hello, world?")
9
- alert(i)
+function ce(){
+ c=document.getElementById("c").value;
+ i=document.getElementById("i").value;
10
+ o=[]
11
+ alert(c+", "+i)
12
+ }
13
</script>
0 commit comments