-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (55 loc) · 2.93 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tax Calculator</title>
<link rel="stylesheet" href="style.css">
<script src="script.js" defer></script>
</head>
<body>
<div class="container">
<div class="content">
<div class="formEl">
<form>
<label for="income"> Enter gross annual income </label>
<span data-text="gross annual income is your total salary in a year before deductions"
class="tooltip" ><ion-icon name="help-circle-outline" class="icon"></ion-icon></span><br>
<input type="text" placeholder="Enter gross annual income" required>
<ion-icon name="alert-circle-outline" class="alert" title="Please enter numbers only"></ion-icon><br><br/>
<label for="Eincome"> Enter extra income </label>
<span data-text="Extra income is your income from other sources."
class="tooltip"><ion-icon name="help-circle-outline" class="icon"></ion-icon></span><br>
<input type="text" placeholder="Enter extra income from other sources" required><ion-icon name="alert-circle-outline" class="alert" title="Please enter numbers only"></ion-icon><br><br/>
<label for="ageGroup">Enter age group</label>
<span data-text="Please select the age group you belong to."
class="tooltip"><ion-icon name="help-circle-outline" class="icon" title="please enter age"></ion-icon></span><br/>
<select id="ageGroup" name="ageGroup" required><br/>
<option value="" id="first">Select Age Group</option>
<option value="<40">Under 40</option>
<option value="≥ 40 & < 60">40 to 60</option>
<option value="≥ 60">60 or Above</option>
</select><br><br/>
<label for="ded"> Enter total applicable deductions</label>
<span data-text="Enter deductions if applicable."
class="tooltip"><ion-icon name="help-circle-outline" class="icon"></ion-icon></span><br>
<input type="text" placeholder="Enter total applicable deductions" required>
<ion-icon name="alert-circle-outline" class="alert" title="Please enter numbers only"></ion-icon><br><br>
<button class="button">
<span class="button-content" id="btn">Submit </span>
</button>
</form>
<p id="result"></p>
</div>
</div>
</div>
<div id="modal" class="modal">
<div class="modal-content">
<span class="close">×</span>
<div id="modal-result"></div>
</div>
</div>
</body>
<script type="module" src="https://unpkg.com/ionicons@7.1.0/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/ionicons@7.1.0/dist/ionicons/ionicons.js"></script>
</html>