-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
44 lines (38 loc) · 1.78 KB
/
popup.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Price Calculator</title>
<link rel="stylesheet" href="popup.css">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="header">
<img src="assets/logo.png" alt="Extension Logo" class="logo">
<div class="icons">
<svg id="darkModeToggle" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="#333">
<path d="M12 3.1c.7 0 1.4.1 2 .3-3.6 1-6.2 4.3-6.2 8.1 0 3.8 2.6 7.1 6.2 8.1-.6.2-1.3.3-2 .3-5 0-9-4-9-9s4-9 9-9z"/>
</svg>
<svg id="shareBtn" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="#333">
<path d="M18 16.08c-.76 0-1.44.3-1.96.77l-7.12-4.11c.05-.23.08-.47.08-.74s-.03-.51-.08-.74l7.12-4.11c.52.48 1.2.77 1.96.77 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .27.03.51.08.74l-7.12 4.11c-.52-.48-1.2-.77-1.96-.77-1.66 0-3 1.34-3 3s1.34 3 3 3c.76 0 1.44-.3 1.96-.77l7.12 4.11c-.05.23-.08.47-.08.74 0 1.66 1.34 3 3 3s3-1.34 3-3-1.34-3-3-3z"/>
</svg>
</div>
</div>
<h3>Work2Buy</h3>
<label for="earnings">Daily Earnings:</label>
<input type="number" id="earnings" placeholder="Enter earnings">
<label for="currency-select">Currency:</label>
<select id="currency-select">
<option value="INR">₹ Rupee</option>
<option value="USD">$ Dollar</option>
<option value="EUR">€ Euro</option>
<option value="GBP">£ Pound</option>
</select>
<button id="calculateBtn">Calculate</button>
<p id="result"></p>
</div>
<script src="popup.js"></script>
</body>
</html>