-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
107 lines (101 loc) · 4.09 KB
/
index.html
File metadata and controls
107 lines (101 loc) · 4.09 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!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>Our Shopping List</title>
<link
rel="apple-touch-icon"
sizes="180x180"
href="./assets/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="./assets/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="./assets/favicon-16x16.png"
/>
<link rel="manifest" href="./assets/site.webmanifest" />
<link rel="stylesheet" href="./index.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>
</head>
<body>
<div class="container">
<div class="header-row">
<img
src="./assets/Lovepik_com-400186585-shopping-cart.png"
alt="site logo"
/>
<h3>La nostra Lista Della Spesa</h3>
<img
src="./assets/calculator.png"
alt="use calculator icon"
id="calc-btn"
/>
</div>
<div id="calc" class="hidden">
<div id="content">
<form class="calc-form">
<div id="output">
<input type="text" id="res" aria-label="reset" />
</div>
<div class="btn-panel">
<div class="row">
<input class="calc-btn" type="button" value="C" onclick="Clear()" id="clear" />
<input class="calc-btn" type="button" value="←" onclick="Back()" id="backspace" />
<input class="calc-btn" type="button" value="%" onclick="Solve('%')" />
<input class="calc-btn" type="button" value="/" onclick="Solve('/')" />
</div>
<div class="row">
<input class="calc-btn" type="button" value="7" onclick="Solve('7')" />
<input class="calc-btn" type="button" value="8" onclick="Solve('8')" />
<input class="calc-btn" type="button" value="9" onclick="Solve('9')" />
<input class="calc-btn" type="button" value="x" onclick="Solve('*')" />
</div>
<div class="row">
<input class="calc-btn" type="button" value="4" onclick="Solve('4')" />
<input class="calc-btn" type="button" value="5" onclick="Solve('5')" />
<input class="calc-btn" type="button" value="6" onclick="Solve('6')" />
<input class="calc-btn" type="button" value="-" onclick="Solve('-')" />
</div>
<div class="row">
<input class="calc-btn" type="button" value="1" onclick="Solve('1')" />
<input class="calc-btn" type="button" value="2" onclick="Solve('2')" />
<input class="calc-btn" type="button" value="3" onclick="Solve('3')" />
<input class="calc-btn" type="button" value="+" onclick="Solve('+')" />
</div>
<div class="row">
<input class="calc-btn" type="button" value="00" onclick="Solve('00')" />
<input class="calc-btn" type="button" value="0" onclick="Solve('0')" />
<input class="calc-btn" type="button" value="." onclick="Solve('.')" />
<input class="calc-btn" type="button" value="=" onclick="Result()" />
</div>
</div>
</form>
</div>
</div>
<p>fare clic su un elemento per rimuoverlo</p>
<div class="add-item">
<input type="text" id="input-field" placeholder="Inserire Elementi" />
<button id="add-button">+</button>
</div>
<ul id="shopping-list"></ul>
</div>
<script src="./functions.js" type="module"></script>
<script src="./index.js" type="module"></script>
<script src="./calc.js"></script>
<!-- <script src="./books.js" type="module"></script> -->
</body>
</html>