-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
76 lines (58 loc) · 2.26 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Infix to Postfix</title>
<link rel='stylesheet' type='text/css' media='screen' href='style.css'>
</head>
<body>
<div id="heading1">
<h3>What is postfix expression?
why it is important? </h3>
<p id="para1">Postfix notation (also known as
Reverse Polish Notation)
is a way to represent an expression,
where operators follow their
corresponding operands.
Evaluating an expression represented as
postfix notation can easily
be done using the stack data structure.</p>
</div>
<div id="heading2">
<h3 id="h3">What is stack? </h3>
<p id="para2">
A Stack is a linear data structure that
follows the LIFO (Last-In-First-Out) principle.
Stack has one end, whereas the Queue
has two ends (front and rear).
It contains only one pointer top
pointer pointing to the topmost
element of the stack.
Whenever an element is added in
the stack, it is added on the
top of the stack,
and the element can be deleted
only from the stack.
</p>
</div>
<div id="container">
<video autoplay muted loop poster="Loading">
<source src="Assets/bg-vid.mp4">
</video>
<div id="conversion">
<p id="input"><label for="exp">Enter the infix expression:</label></p>
<input type="text" id="exp" placeholder="e.g, A+B, a/b"/><br /><br />
<p id="textarea">Postfix expression: </p>
<textarea name="" id="answer" rows="1" cols="25" disabled>
</textarea>
<br>
<button id="submit" onclick="fun()" > Convert</button>
<a href="https://github.com/masterujjval" target="_blank"><img id="g1" src="Assets/github.png" ></a>
<a href="https://www.linkedin.com/in/ujjwal-gupta-06309a233/" target="_blank"><img id="g2" src="Assets/Linkedin.png"></a>
<a href="https://github.com/masterujjval/Infix-to-postfix" target="_blank"><img id="g3" src="Assets/change.png" ></a>
</div>
</div>
</body>
<script src="script.js"></script>
</html>