-
Notifications
You must be signed in to change notification settings - Fork 1
/
evaluation.html
135 lines (111 loc) · 5.04 KB
/
evaluation.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/styles.css">
<title>Expression Evaluation</title>
<!-- Favicon -->
<link rel="icon" href="images/conversion.png">
<!-- BootStrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
<!-- My CSS -->
<link rel="stylesheet" href="css/styles.css">
<!-- Google Font -->
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;900&family=Ubuntu&display=swap"
rel="stylesheet">
<!-- Font Awesome -->
<script src="https://kit.fontawesome.com/27a53a076c.js" crossorigin="anonymous"></script>
</head>
<body>
<section id="introduction">
<!-- Nav Bar -->
<nav class="navbar navbar-expand-md intro-navbar">
<div class="container-fluid">
<a class="navbar-brand" href="#">Conv-infix</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<!-- Navbar Options -->
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ms-auto">
<li class="nav-item dropdown nav-list-items">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown"
aria-expanded="false">
Tools
</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="./conversion.html">Convertor</a></li>
<li>
<hr class="dropdown-divider">
</li>
<li><a class="dropdown-item" href="./evaluation.html">Evaluator</a></li>
</ul>
</li>
<li class="nav-item nav-list-items">
<a class="nav-link " aria-current="page" href="./">Home</a>
</li>
<li class="nav-item nav-list-items">
<a class="nav-link" href="#">About</a>
</li>
</div>
</div>
</nav>
<hr class="nav-btm-line">
</section>
<section id="tools">
<div class="tools-intro">
<h1 class="selector-heading">
INFIX ☞ PREFIX & POSTFIX
</h1>
<p class="tool-description">This is a simple Infix to Prefix or Postfix Evaluator dialog.</p>
<hr class="tool-desc-line">
</div>
<div class="helper-text">
<h3>
Enter the infix expression in the box and click Evaluate
</h3>
<p>
Type the expression without Space and with Open & Close Brackets
</p>
<div class="format-shower">
<p>
format 1: (5*4+(8^1-6)^5)
<br>
format 2: (A*B+(C^D-E)^H)
</p>
</div>
</div>
<div class="operation checkbox-selector">
<input type="checkbox" name="check" value="postfix" class="postfix-box">Postfix
<input type="checkbox" name="check" value="prefix" class="prefix-box">Prefix
</div>
<div class="input-field">
<input id="infixExp" class="expression-field" type="text" placeholder="Expression" aria-label="text">
<hr class="btn-seperator">
</div>
<div class="action-buttons">
<button type="button" id="action-btn" class="btn btn-warning conv-btn">Evaluate</button>
<!-- <button type="button" id="action-btn" class="btn btn-warning conv-btn" disabled>Evaluate</button> -->
</div>
<div class="results-evaluation">
<span class="postfix-eval">Evaluation:
<span class="postfix-eval-text"></span>
</span>
</div>
<div class="contributor">
<p class="contributor-name">By Jay & Shubham</p>
</div>
</section>
<!-- Font Awesome js -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3"
crossorigin="anonymous"></script>
<!-- My JavaScript -->
<script src="script.js" charset="utf-8"></script>
</body>
</html>