-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
49 lines (39 loc) · 1.44 KB
/
index.html
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Expression Tree Generator</title>
<!--start favicon meta deta-->
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<meta name="theme-color" content="#ffffff">
<!--end favicon metadata-->
<link rel="stylesheet" href="app.css">
</head>
<body>
<div class="contact-section">
<div class="inner-width">
<h1>Expression Tree Generator</h1>
<div class="inner-input-container" style="text-align: left;">
<span>Current Expression:</span>
<input type="text" class="name" id='expression-input' placeholder="e.g (x + y)*z - (t / w)">
</div>
<div class="buttons">
<button id="generate-tree">Generate</button>
<button id="clear-tree">Clear</button>
</div>
</div>
</div>
<div id="canvas-container">
<canvas></canvas>
</div>
<a class="github-link" href="https://github.com/lnogueir/expression-tree-gen">
<img src="GitHub_Logo.png" />
</a>
</body>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@9"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjs/6.6.1/math.min.js"></script>
<script src="tree.js"></script>
<script src="infixToPostfix.js"></script>
<script src="canvas.js"></script>
</html>