-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheval.html
More file actions
29 lines (25 loc) · 809 Bytes
/
eval.html
File metadata and controls
29 lines (25 loc) · 809 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Math Evaluator</title>
<link rel="stylesheet"
href="//cdn.rawgit.com/milligram/milligram/master/dist/milligram.min.css">
<style>
#input, #result, #tree { font-family: monospace; width: 100%; }
.error { color: red; }
</style>
</head>
<body>
<h1>Math Evaluator</h1>
<h2>Expression</h2>
<input type="text" id="input" value="1 + 2 * 3"/>
<h2>Result</h2>
<p id="result"></p>
<h2>Tree</h2>
<p id="tree"></p>
<script src="eval.dart.js"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-QK0KCHXW3F"></script>
<script>window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'G-QK0KCHXW3F');</script>
</body>
</html>