-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (30 loc) · 1.14 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
<!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">
<title>profit | loss</title>
<link rel="stylesheet" href="main.css" />
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🗠</text></svg>">
</head>
<body>
<header>
<h1>
profit or loss?
</h1>
<p>enter your stock holding details to check your bookings</p>
</header>
<label for="buy">buy price</label>
<input id="buy" placeholder="in rupees" type="number"/>
<label for="quantity">quantity</label>
<input id="quantity" placeholder="quantity" type="number" min="1" pattern="[0-9]" onkeypress="return !(event.charCode == 46)"/>
<label for="sell">sell price</label>
<input id="sell" placeholder="in rupees" type="number"/>
<div class="container">
<button id="btn-calculate">find out</button>
</div>
<p id="output">enter details for output</p>
<script src="main.js"></script>
</body>
</html>