-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
68 lines (65 loc) · 2.32 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Linear Equation Solver</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="stylesheet" href="https://debaxom.github.io/axomia-type/static/icons.css">
<link rel="stylesheet" href="./static/style.css">
<script>
function openMenu(_this){
if(_this.innerHTML==="close"){
document.getElementById('sidenav').style.width="0%";
_this.innerHTML="menu";
return;
}
_this.innerHTML="close";
if(screen.width>411){
document.getElementById('sidenav').style.width="30%";
return;
}
document.getElementById('sidenav').style.width="75%";
}
</script>
<script src="./static/script.js" async defer></script>
</head>
<body>
<div id="sidenav">
<a href="https://github.com/DebAxom">Github</a>
<hr>
<a href="https://twitter.com/DebAxom">Twitter</a>
<hr>
<a href="https://instagram.com/DebAxom">Instagram</a>
<hr>
<a href="https://youtube.com/channel/UCOlTCB5f2z6_lWl3466ZB_Q">Youtube</a>
<hr>
<a href="https://github.com/DebAxom/linear-eqn">Github Repo</a>
<hr>
<p>Created by DebAxom</p>
</div>
<div class="header">
<span class="icons" onclick="openMenu(this)">menu</span>
<h3>Linear Eq<sup>n</sup> solver</h3>
<div style="visibility: hidden;"></div>
</div>
<div class="container">
<form onsubmit="return window.solve()">
<input type="text" id="eqn" placeholder="Type the equation...">
<input type="submit" value="send" class="icons">
</form>
<div id="ans"></div>
<div id="note">
<h2>Note:</h2>
<ul>
<li>For multiplication, use '*' instead of 'x'</li>
<li>For division, use '/' instead of '%'</li>
<li>Use variable 'x' only (lowercase).</li>
<li>This is just a prototype.</li>
<li>It can't solve critical problems.</li>
<li>It can solve only linear equations in 1 variable.</li>
<li>Sample Problem: 2x+3=0</li>
</ul>
</div>
</div>
</body>
</html>