depd-v2 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/calculator/index.html +130 -269
- package/chat-react/src/App.css +8 -180
- package/chat-react/src/index.css +3 -109
- package/docx/mad 1.docx +0 -0
- package/food-delivery/package-lock.json +2 -2
- package/food-delivery/package.json +1 -1
- package/lab1/index.html +59 -224
- package/package.json +2 -1
package/calculator/index.html
CHANGED
|
@@ -1,270 +1,131 @@
|
|
|
1
|
-
<!
|
|
1
|
+
<!DOCTYPE html>
|
|
2
2
|
<html>
|
|
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
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
<button class="button" onclick="appendNumber('7')">7</button>
|
|
134
|
-
<button class="button" onclick="appendNumber('8')">8</button>
|
|
135
|
-
<button class="button" onclick="appendNumber('9')">9</button>
|
|
136
|
-
<button class="button operator" onclick="appendOperation('+')">
|
|
137
|
-
+
|
|
138
|
-
</button>
|
|
139
|
-
|
|
140
|
-
<button class="button" onclick="appendNumber('4')">4</button>
|
|
141
|
-
<button class="button" onclick="appendNumber('5')">5</button>
|
|
142
|
-
<button class="button" onclick="appendNumber('6')">6</button>
|
|
143
|
-
<button class="button equal" onclick="calculate()">=</button>
|
|
144
|
-
|
|
145
|
-
<button class="button" onclick="appendNumber('1')">1</button>
|
|
146
|
-
<button class="button" onclick="appendNumber('2')">2</button>
|
|
147
|
-
<button class="button" onclick="appendNumber('3')">3</button>
|
|
148
|
-
<button class="button" onclick="appendNumber('0')">0</button>
|
|
149
|
-
</div>
|
|
150
|
-
|
|
151
|
-
<div class="history" id="history"><b>History</b><br /></div>
|
|
152
|
-
</div>
|
|
153
|
-
|
|
154
|
-
<script>
|
|
155
|
-
let currentInput = ''
|
|
156
|
-
let previousInput = ''
|
|
157
|
-
let currentOperation = ''
|
|
158
|
-
|
|
159
|
-
function updateDisplay() {
|
|
160
|
-
document.getElementById('display').value =
|
|
161
|
-
previousInput + ' ' + currentOperation + ' ' + currentInput
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
function appendNumber(num) {
|
|
165
|
-
currentInput += num
|
|
166
|
-
updateDisplay()
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
function appendOperation(op) {
|
|
170
|
-
if (currentInput === '') return
|
|
171
|
-
|
|
172
|
-
if (previousInput !== '') {
|
|
173
|
-
calculate()
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
currentOperation = op
|
|
177
|
-
previousInput = currentInput
|
|
178
|
-
currentInput = ''
|
|
179
|
-
updateDisplay()
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
function calculate() {
|
|
183
|
-
if (previousInput === '' || currentInput === '') return
|
|
184
|
-
|
|
185
|
-
let result
|
|
186
|
-
let prev = parseFloat(previousInput)
|
|
187
|
-
let curr = parseFloat(currentInput)
|
|
188
|
-
|
|
189
|
-
switch (currentOperation) {
|
|
190
|
-
case '+':
|
|
191
|
-
result = prev + curr
|
|
192
|
-
break
|
|
193
|
-
case '-':
|
|
194
|
-
result = prev - curr
|
|
195
|
-
break
|
|
196
|
-
case '*':
|
|
197
|
-
result = prev * curr
|
|
198
|
-
break
|
|
199
|
-
case '/':
|
|
200
|
-
if (curr === 0) {
|
|
201
|
-
alert('Cannot divide by zero')
|
|
202
|
-
return
|
|
203
|
-
}
|
|
204
|
-
result = prev / curr
|
|
205
|
-
break
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
let historyText =
|
|
209
|
-
previousInput +
|
|
210
|
-
' ' +
|
|
211
|
-
currentOperation +
|
|
212
|
-
' ' +
|
|
213
|
-
currentInput +
|
|
214
|
-
' = ' +
|
|
215
|
-
result
|
|
216
|
-
|
|
217
|
-
document.getElementById('history').innerHTML +=
|
|
218
|
-
historyText + '<br>'
|
|
219
|
-
|
|
220
|
-
currentInput = result.toString()
|
|
221
|
-
previousInput = ''
|
|
222
|
-
currentOperation = ''
|
|
223
|
-
updateDisplay()
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
function clearDisplay() {
|
|
227
|
-
currentInput = ''
|
|
228
|
-
previousInput = ''
|
|
229
|
-
currentOperation = ''
|
|
230
|
-
updateDisplay()
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
function toggleDarkMode() {
|
|
234
|
-
document.body.classList.toggle('dark')
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
/* CLOCK */
|
|
238
|
-
|
|
239
|
-
function updateClock() {
|
|
240
|
-
let now = new Date()
|
|
241
|
-
document.getElementById('clock').innerText =
|
|
242
|
-
now.toLocaleTimeString()
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
setInterval(updateClock, 1000)
|
|
246
|
-
updateClock()
|
|
247
|
-
|
|
248
|
-
/* KEYBOARD SUPPORT */
|
|
249
|
-
|
|
250
|
-
document.addEventListener('keydown', function (e) {
|
|
251
|
-
if (!isNaN(e.key)) {
|
|
252
|
-
appendNumber(e.key)
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
if (['+', '-', '*', '/'].includes(e.key)) {
|
|
256
|
-
appendOperation(e.key)
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
if (e.key === 'Enter') {
|
|
260
|
-
calculate()
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
if (e.key === 'Backspace') {
|
|
264
|
-
currentInput = currentInput.slice(0, -1)
|
|
265
|
-
updateDisplay()
|
|
266
|
-
}
|
|
267
|
-
})
|
|
268
|
-
</script>
|
|
269
|
-
</body>
|
|
270
|
-
</html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>Calculator</title>
|
|
5
|
+
<style>
|
|
6
|
+
body{
|
|
7
|
+
margin:0;
|
|
8
|
+
display:flex;
|
|
9
|
+
justify-content:center;
|
|
10
|
+
align-items:center;
|
|
11
|
+
height:100vh;
|
|
12
|
+
background:#c82424;
|
|
13
|
+
font-family:Arial;
|
|
14
|
+
}
|
|
15
|
+
.calculator{
|
|
16
|
+
width:280px;
|
|
17
|
+
padding:15px;
|
|
18
|
+
background:#fff;
|
|
19
|
+
border:1px solid #ccc;
|
|
20
|
+
}
|
|
21
|
+
#display{
|
|
22
|
+
width:100%;
|
|
23
|
+
height:45px;
|
|
24
|
+
font-size:24px;
|
|
25
|
+
text-align:right;
|
|
26
|
+
margin-bottom:10px;
|
|
27
|
+
}
|
|
28
|
+
.buttons{
|
|
29
|
+
display:grid;
|
|
30
|
+
grid-template-columns:repeat(4,1fr);
|
|
31
|
+
gap:5px;
|
|
32
|
+
}
|
|
33
|
+
button{
|
|
34
|
+
height:50px;
|
|
35
|
+
font-size:20px;
|
|
36
|
+
cursor:pointer;
|
|
37
|
+
}
|
|
38
|
+
</style>
|
|
39
|
+
</head>
|
|
40
|
+
|
|
41
|
+
<body>
|
|
42
|
+
|
|
43
|
+
<div class="calculator">
|
|
44
|
+
<input id="display" disabled>
|
|
45
|
+
|
|
46
|
+
<div class="buttons">
|
|
47
|
+
<button onclick="clearDisplay()">C</button>
|
|
48
|
+
<button onclick="setOp('/')">/</button>
|
|
49
|
+
<button onclick="setOp('*')">*</button>
|
|
50
|
+
<button onclick="setOp('-')">-</button>
|
|
51
|
+
|
|
52
|
+
<button onclick="append('7')">7</button>
|
|
53
|
+
<button onclick="append('8')">8</button>
|
|
54
|
+
<button onclick="append('9')">9</button>
|
|
55
|
+
<button onclick="setOp('+')">+</button>
|
|
56
|
+
|
|
57
|
+
<button onclick="append('4')">4</button>
|
|
58
|
+
<button onclick="append('5')">5</button>
|
|
59
|
+
<button onclick="append('6')">6</button>
|
|
60
|
+
<button onclick="calculate()">=</button>
|
|
61
|
+
|
|
62
|
+
<button onclick="append('1')">1</button>
|
|
63
|
+
<button onclick="append('2')">2</button>
|
|
64
|
+
<button onclick="append('3')">3</button>
|
|
65
|
+
<button onclick="append('0')">0</button>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
|
|
69
|
+
<script>
|
|
70
|
+
let a="",b="",op="";
|
|
71
|
+
|
|
72
|
+
function show(){
|
|
73
|
+
display.value=a+" "+op+" "+b;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
function append(n){
|
|
77
|
+
if(op=="") a+=n;
|
|
78
|
+
else b+=n;
|
|
79
|
+
show();
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
function setOp(o){
|
|
83
|
+
if(a=="") return;
|
|
84
|
+
op=o;
|
|
85
|
+
show();
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
function calculate(){
|
|
89
|
+
if(a==""||b=="") return;
|
|
90
|
+
|
|
91
|
+
let x=Number(a),y=Number(b),r;
|
|
92
|
+
|
|
93
|
+
switch(op){
|
|
94
|
+
case "+": r=x+y; break;
|
|
95
|
+
case "-": r=x-y; break;
|
|
96
|
+
case "*": r=x*y; break;
|
|
97
|
+
case "/":
|
|
98
|
+
if(y==0){
|
|
99
|
+
alert("Cannot divide by zero");
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
r=x/y;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
a=r.toString();
|
|
106
|
+
b="";
|
|
107
|
+
op="";
|
|
108
|
+
show();
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
function clearDisplay(){
|
|
112
|
+
a="";
|
|
113
|
+
b="";
|
|
114
|
+
op="";
|
|
115
|
+
show();
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
document.addEventListener("keydown",e=>{
|
|
119
|
+
if(!isNaN(e.key)) append(e.key);
|
|
120
|
+
if("+-*/".includes(e.key)) setOp(e.key);
|
|
121
|
+
if(e.key=="Enter") calculate();
|
|
122
|
+
if(e.key=="Backspace"){
|
|
123
|
+
if(op=="") a=a.slice(0,-1);
|
|
124
|
+
else b=b.slice(0,-1);
|
|
125
|
+
show();
|
|
126
|
+
}
|
|
127
|
+
});
|
|
128
|
+
</script>
|
|
129
|
+
|
|
130
|
+
</body>
|
|
131
|
+
</html>
|
package/chat-react/src/App.css
CHANGED
|
@@ -1,184 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
padding: 5px 10px;
|
|
4
|
-
border-radius: 5px;
|
|
5
|
-
color: var(--accent);
|
|
6
|
-
background: var(--accent-bg);
|
|
7
|
-
border: 2px solid transparent;
|
|
8
|
-
transition: border-color 0.3s;
|
|
9
|
-
margin-bottom: 24px;
|
|
10
|
-
|
|
11
|
-
&:hover {
|
|
12
|
-
border-color: var(--accent-border);
|
|
13
|
-
}
|
|
14
|
-
&:focus-visible {
|
|
15
|
-
outline: 2px solid var(--accent);
|
|
16
|
-
outline-offset: 2px;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.hero {
|
|
21
|
-
position: relative;
|
|
22
|
-
|
|
23
|
-
.base,
|
|
24
|
-
.framework,
|
|
25
|
-
.vite {
|
|
26
|
-
inset-inline: 0;
|
|
27
|
-
margin: 0 auto;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.base {
|
|
31
|
-
width: 170px;
|
|
32
|
-
position: relative;
|
|
33
|
-
z-index: 0;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.framework,
|
|
37
|
-
.vite {
|
|
38
|
-
position: absolute;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.framework {
|
|
42
|
-
z-index: 1;
|
|
43
|
-
top: 34px;
|
|
44
|
-
height: 28px;
|
|
45
|
-
transform: perspective(2000px) rotateZ(300deg) rotateX(44deg) rotateY(39deg)
|
|
46
|
-
scale(1.4);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.vite {
|
|
50
|
-
z-index: 0;
|
|
51
|
-
top: 107px;
|
|
52
|
-
height: 26px;
|
|
53
|
-
width: auto;
|
|
54
|
-
transform: perspective(2000px) rotateZ(300deg) rotateX(40deg) rotateY(39deg)
|
|
55
|
-
scale(0.8);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
#center {
|
|
60
|
-
display: flex;
|
|
61
|
-
flex-direction: column;
|
|
62
|
-
gap: 25px;
|
|
63
|
-
place-content: center;
|
|
64
|
-
place-items: center;
|
|
65
|
-
flex-grow: 1;
|
|
66
|
-
|
|
67
|
-
@media (max-width: 1024px) {
|
|
68
|
-
padding: 32px 20px 24px;
|
|
69
|
-
gap: 18px;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
#next-steps {
|
|
74
|
-
display: flex;
|
|
75
|
-
border-top: 1px solid var(--border);
|
|
76
|
-
text-align: left;
|
|
77
|
-
|
|
78
|
-
& > div {
|
|
79
|
-
flex: 1 1 0;
|
|
80
|
-
padding: 32px;
|
|
81
|
-
@media (max-width: 1024px) {
|
|
82
|
-
padding: 24px 20px;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.icon {
|
|
87
|
-
margin-bottom: 16px;
|
|
88
|
-
width: 22px;
|
|
89
|
-
height: 22px;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
@media (max-width: 1024px) {
|
|
93
|
-
flex-direction: column;
|
|
94
|
-
text-align: center;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
#docs {
|
|
99
|
-
border-right: 1px solid var(--border);
|
|
100
|
-
|
|
101
|
-
@media (max-width: 1024px) {
|
|
102
|
-
border-right: none;
|
|
103
|
-
border-bottom: 1px solid var(--border);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
#next-steps ul {
|
|
108
|
-
list-style: none;
|
|
109
|
-
padding: 0;
|
|
110
|
-
display: flex;
|
|
111
|
-
gap: 8px;
|
|
112
|
-
margin: 32px 0 0;
|
|
113
|
-
|
|
114
|
-
.logo {
|
|
115
|
-
height: 18px;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
a {
|
|
119
|
-
color: var(--text-h);
|
|
120
|
-
font-size: 16px;
|
|
121
|
-
border-radius: 6px;
|
|
122
|
-
background: var(--social-bg);
|
|
123
|
-
display: flex;
|
|
124
|
-
padding: 6px 12px;
|
|
125
|
-
align-items: center;
|
|
126
|
-
gap: 8px;
|
|
127
|
-
text-decoration: none;
|
|
128
|
-
transition: box-shadow 0.3s;
|
|
129
|
-
|
|
130
|
-
&:hover {
|
|
131
|
-
box-shadow: var(--shadow);
|
|
132
|
-
}
|
|
133
|
-
.button-icon {
|
|
134
|
-
height: 18px;
|
|
135
|
-
width: 18px;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
@media (max-width: 1024px) {
|
|
140
|
-
margin-top: 20px;
|
|
141
|
-
flex-wrap: wrap;
|
|
142
|
-
justify-content: center;
|
|
143
|
-
|
|
144
|
-
li {
|
|
145
|
-
flex: 1 1 calc(50% - 8px);
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
a {
|
|
149
|
-
width: 100%;
|
|
150
|
-
justify-content: center;
|
|
151
|
-
box-sizing: border-box;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
1
|
+
input {
|
|
2
|
+
padding: 5px;
|
|
154
3
|
}
|
|
155
4
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
@media (max-width: 1024px) {
|
|
160
|
-
height: 48px;
|
|
161
|
-
}
|
|
5
|
+
button {
|
|
6
|
+
margin-left: 10px;
|
|
7
|
+
padding: 5px 10px;
|
|
162
8
|
}
|
|
163
9
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
&::before,
|
|
169
|
-
&::after {
|
|
170
|
-
content: '';
|
|
171
|
-
position: absolute;
|
|
172
|
-
top: -4.5px;
|
|
173
|
-
border: 5px solid transparent;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
&::before {
|
|
177
|
-
left: 0;
|
|
178
|
-
border-left-color: var(--border);
|
|
179
|
-
}
|
|
180
|
-
&::after {
|
|
181
|
-
right: 0;
|
|
182
|
-
border-right-color: var(--border);
|
|
183
|
-
}
|
|
184
|
-
}
|
|
10
|
+
ul {
|
|
11
|
+
padding-left: 20px;
|
|
12
|
+
}
|
package/chat-react/src/index.css
CHANGED
|
@@ -1,111 +1,5 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--text: #6b6375;
|
|
3
|
-
--text-h: #08060d;
|
|
4
|
-
--bg: #fff;
|
|
5
|
-
--border: #e5e4e7;
|
|
6
|
-
--code-bg: #f4f3ec;
|
|
7
|
-
--accent: #aa3bff;
|
|
8
|
-
--accent-bg: rgba(170, 59, 255, 0.1);
|
|
9
|
-
--accent-border: rgba(170, 59, 255, 0.5);
|
|
10
|
-
--social-bg: rgba(244, 243, 236, 0.5);
|
|
11
|
-
--shadow:
|
|
12
|
-
rgba(0, 0, 0, 0.1) 0 10px 15px -3px, rgba(0, 0, 0, 0.05) 0 4px 6px -2px;
|
|
13
|
-
|
|
14
|
-
--sans: system-ui, 'Segoe UI', Roboto, sans-serif;
|
|
15
|
-
--heading: system-ui, 'Segoe UI', Roboto, sans-serif;
|
|
16
|
-
--mono: ui-monospace, Consolas, monospace;
|
|
17
|
-
|
|
18
|
-
font: 18px/145% var(--sans);
|
|
19
|
-
letter-spacing: 0.18px;
|
|
20
|
-
color-scheme: light dark;
|
|
21
|
-
color: var(--text);
|
|
22
|
-
background: var(--bg);
|
|
23
|
-
font-synthesis: none;
|
|
24
|
-
text-rendering: optimizeLegibility;
|
|
25
|
-
-webkit-font-smoothing: antialiased;
|
|
26
|
-
-moz-osx-font-smoothing: grayscale;
|
|
27
|
-
|
|
28
|
-
@media (max-width: 1024px) {
|
|
29
|
-
font-size: 16px;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@media (prefers-color-scheme: dark) {
|
|
34
|
-
:root {
|
|
35
|
-
--text: #9ca3af;
|
|
36
|
-
--text-h: #f3f4f6;
|
|
37
|
-
--bg: #16171d;
|
|
38
|
-
--border: #2e303a;
|
|
39
|
-
--code-bg: #1f2028;
|
|
40
|
-
--accent: #c084fc;
|
|
41
|
-
--accent-bg: rgba(192, 132, 252, 0.15);
|
|
42
|
-
--accent-border: rgba(192, 132, 252, 0.5);
|
|
43
|
-
--social-bg: rgba(47, 48, 58, 0.5);
|
|
44
|
-
--shadow:
|
|
45
|
-
rgba(0, 0, 0, 0.4) 0 10px 15px -3px, rgba(0, 0, 0, 0.25) 0 4px 6px -2px;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
#social .button-icon {
|
|
49
|
-
filter: invert(1) brightness(2);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
1
|
body {
|
|
54
2
|
margin: 0;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
width: 1126px;
|
|
59
|
-
max-width: 100%;
|
|
60
|
-
margin: 0 auto;
|
|
61
|
-
text-align: center;
|
|
62
|
-
border-inline: 1px solid var(--border);
|
|
63
|
-
min-height: 100svh;
|
|
64
|
-
display: flex;
|
|
65
|
-
flex-direction: column;
|
|
66
|
-
box-sizing: border-box;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
h1,
|
|
70
|
-
h2 {
|
|
71
|
-
font-family: var(--heading);
|
|
72
|
-
font-weight: 500;
|
|
73
|
-
color: var(--text-h);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
h1 {
|
|
77
|
-
font-size: 56px;
|
|
78
|
-
letter-spacing: -1.68px;
|
|
79
|
-
margin: 32px 0;
|
|
80
|
-
@media (max-width: 1024px) {
|
|
81
|
-
font-size: 36px;
|
|
82
|
-
margin: 20px 0;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
h2 {
|
|
86
|
-
font-size: 24px;
|
|
87
|
-
line-height: 118%;
|
|
88
|
-
letter-spacing: -0.24px;
|
|
89
|
-
margin: 0 0 8px;
|
|
90
|
-
@media (max-width: 1024px) {
|
|
91
|
-
font-size: 20px;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
p {
|
|
95
|
-
margin: 0;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
code,
|
|
99
|
-
.counter {
|
|
100
|
-
font-family: var(--mono);
|
|
101
|
-
display: inline-flex;
|
|
102
|
-
border-radius: 4px;
|
|
103
|
-
color: var(--text-h);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
code {
|
|
107
|
-
font-size: 15px;
|
|
108
|
-
line-height: 135%;
|
|
109
|
-
padding: 4px 8px;
|
|
110
|
-
background: var(--code-bg);
|
|
111
|
-
}
|
|
3
|
+
font-family: Arial, Helvetica, sans-serif;
|
|
4
|
+
background: #f5f5f5
|
|
5
|
+
}
|
package/docx/mad 1.docx
ADDED
|
Binary file
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "food-delivery",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "food-delivery",
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "0.1.0",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"cors": "^2.8.6",
|
|
12
12
|
"express": "^5.2.1",
|
package/lab1/index.html
CHANGED
|
@@ -1,237 +1,72 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html>
|
|
3
|
-
|
|
4
3
|
<head>
|
|
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
|
-
table {
|
|
50
|
-
width: 100%;
|
|
51
|
-
border-collapse: collapse;
|
|
52
|
-
margin-top: 20px;
|
|
53
|
-
box-shadow: 5px 10px 10px 10px;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
th,
|
|
57
|
-
td {
|
|
58
|
-
border: 1px solid gray;
|
|
59
|
-
padding: 10px;
|
|
60
|
-
text-align: center;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
th {
|
|
64
|
-
background: #0077cc;
|
|
65
|
-
color: white;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.speaker-container {
|
|
69
|
-
display: flex;
|
|
70
|
-
justify-content: space-around;
|
|
71
|
-
flex-wrap: wrap;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.speaker {
|
|
75
|
-
text-align: center;
|
|
76
|
-
margin: 20px;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.speaker img {
|
|
80
|
-
width: 150px;
|
|
81
|
-
height: 150px;
|
|
82
|
-
border-radius: 10%;
|
|
83
|
-
transition: 0.4s;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.speaker img:hover {
|
|
87
|
-
transform: scale(1.1);
|
|
88
|
-
box-shadow: 5px 5px 10px 5px;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
input,
|
|
92
|
-
textarea {
|
|
93
|
-
width: 100%;
|
|
94
|
-
padding: 8px;
|
|
95
|
-
border: 1px solid gray;
|
|
96
|
-
border-radius: 5px;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
button {
|
|
100
|
-
background: #0077cc;
|
|
101
|
-
color: white;
|
|
102
|
-
padding: 10px 20px;
|
|
103
|
-
border: none;
|
|
104
|
-
border-radius: 5px;
|
|
105
|
-
cursor: pointer;
|
|
106
|
-
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
button:hover {
|
|
110
|
-
background: #005fa3;
|
|
111
|
-
}
|
|
112
|
-
</style>
|
|
4
|
+
<title>Simple Web Page</title>
|
|
5
|
+
<style>
|
|
6
|
+
body{
|
|
7
|
+
margin:0;
|
|
8
|
+
font-family:Arial,sans-serif;
|
|
9
|
+
background:#f4f4f4;
|
|
10
|
+
}
|
|
11
|
+
header,footer{
|
|
12
|
+
background:#0077cc;
|
|
13
|
+
color:white;
|
|
14
|
+
text-align:center;
|
|
15
|
+
padding:20px;
|
|
16
|
+
}
|
|
17
|
+
nav{
|
|
18
|
+
background:#333;
|
|
19
|
+
text-align:center;
|
|
20
|
+
padding:10px;
|
|
21
|
+
}
|
|
22
|
+
nav a{
|
|
23
|
+
color:white;
|
|
24
|
+
text-decoration:none;
|
|
25
|
+
margin:15px;
|
|
26
|
+
}
|
|
27
|
+
section{
|
|
28
|
+
width:80%;
|
|
29
|
+
margin:20px auto;
|
|
30
|
+
background:white;
|
|
31
|
+
padding:20px;
|
|
32
|
+
border-radius:8px;
|
|
33
|
+
box-shadow:0 0 10px gray;
|
|
34
|
+
}
|
|
35
|
+
button{
|
|
36
|
+
background:#0077cc;
|
|
37
|
+
color:white;
|
|
38
|
+
border:none;
|
|
39
|
+
padding:10px 20px;
|
|
40
|
+
border-radius:5px;
|
|
41
|
+
}
|
|
42
|
+
button:hover{
|
|
43
|
+
background:#005fa3;
|
|
44
|
+
}
|
|
45
|
+
</style>
|
|
113
46
|
</head>
|
|
114
47
|
|
|
115
48
|
<body>
|
|
116
|
-
<header>
|
|
117
|
-
<h1>Welcome to TechCon - 2026</h1>
|
|
118
|
-
<p>The Ultimate Technology and Programming Conference</p>
|
|
119
|
-
</header>
|
|
120
|
-
<nav>
|
|
121
|
-
<a href="#about">About</a>
|
|
122
|
-
<a href="#schedule">Schedule</a>
|
|
123
|
-
<a href="#speakers">Speakers</a>
|
|
124
|
-
<a href="#contact">Contact</a>
|
|
125
|
-
</nav>
|
|
126
|
-
|
|
127
|
-
<section id="about">
|
|
128
|
-
<h2>About the Event</h2>
|
|
129
|
-
<p>
|
|
130
|
-
TechCon'2026 brings together leading minds in programming,
|
|
131
|
-
technology, and innovation. Join us for insightful talks,
|
|
132
|
-
hands-on workshops, and networking opportunities.
|
|
133
|
-
</p>
|
|
134
|
-
</section>
|
|
135
49
|
|
|
136
|
-
|
|
137
|
-
|
|
50
|
+
<header>
|
|
51
|
+
<h1>My Website</h1>
|
|
52
|
+
<p>Simple HTML5 & CSS3 Web Page</p>
|
|
53
|
+
</header>
|
|
138
54
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
</tr>
|
|
55
|
+
<nav>
|
|
56
|
+
<a href="#">Home</a>
|
|
57
|
+
<a href="#">About</a>
|
|
58
|
+
<a href="#">Contact</a>
|
|
59
|
+
</nav>
|
|
145
60
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
<tr>
|
|
153
|
-
<td>10:30 AM</td>
|
|
154
|
-
<td>Understanding AI and Machine Learning</td>
|
|
155
|
-
<td>Mr. Arvind Kumar</td>
|
|
156
|
-
</tr>
|
|
157
|
-
|
|
158
|
-
<tr>
|
|
159
|
-
<td>1:00 PM</td>
|
|
160
|
-
<td>Lunch Break</td>
|
|
161
|
-
<td>-</td>
|
|
162
|
-
</tr>
|
|
163
|
-
|
|
164
|
-
<tr>
|
|
165
|
-
<td>2:00 PM</td>
|
|
166
|
-
<td>Future of Cloud Computing</td>
|
|
167
|
-
<td>Ms. Neha Gupta</td>
|
|
168
|
-
</tr>
|
|
169
|
-
|
|
170
|
-
</table>
|
|
171
|
-
|
|
172
|
-
</section>
|
|
173
|
-
|
|
174
|
-
<section id="speakers">
|
|
175
|
-
|
|
176
|
-
<h2>Meet the Speakers</h2>
|
|
177
|
-
|
|
178
|
-
<div class="speaker-container">
|
|
179
|
-
|
|
180
|
-
<div class="speaker">
|
|
181
|
-
<img src="https://randomuser.me/api/portraits/women/65.jpg">
|
|
182
|
-
<h3>Dr. Radhika Sharma</h3>
|
|
183
|
-
<p>AI Expert & Researcher</p>
|
|
184
|
-
</div>
|
|
185
|
-
|
|
186
|
-
<div class="speaker">
|
|
187
|
-
<img src="https://randomuser.me/api/portraits/men/32.jpg">
|
|
188
|
-
<h3>Mr. Arvind Kumar</h3>
|
|
189
|
-
<p>Senior Data Scientist</p>
|
|
190
|
-
</div>
|
|
191
|
-
|
|
192
|
-
<div class="speaker">
|
|
193
|
-
<img src="https://randomuser.me/api/portraits/women/45.jpg">
|
|
194
|
-
<h3>Ms. Neha Gupta</h3>
|
|
195
|
-
<p>Cloud Computing Specialist</p>
|
|
196
|
-
</div>
|
|
197
|
-
|
|
198
|
-
<div class="speaker">
|
|
199
|
-
<img src="https://randomuser.me/api/portraits/men/40.jpg">
|
|
200
|
-
<h3>Mr. Sandeep Reddy</h3>
|
|
201
|
-
<p>Full Stack Developer</p>
|
|
202
|
-
</div>
|
|
203
|
-
|
|
204
|
-
</div>
|
|
205
|
-
|
|
206
|
-
</section>
|
|
207
|
-
|
|
208
|
-
<section id="contact">
|
|
209
|
-
<center>
|
|
210
|
-
<h2>Contact Us</h2>
|
|
211
|
-
</center>
|
|
212
|
-
<form>
|
|
213
|
-
|
|
214
|
-
<label>Name</label><br>
|
|
215
|
-
<input type="text"><br><br>
|
|
216
|
-
|
|
217
|
-
<label>Email</label><br>
|
|
218
|
-
<input type="email"><br><br>
|
|
219
|
-
|
|
220
|
-
<label>Message</label><br>
|
|
221
|
-
<textarea rows="4"></textarea><br><br>
|
|
222
|
-
<button type="submit">Send</button>
|
|
223
|
-
|
|
224
|
-
</form>
|
|
225
|
-
<div class="Contact">
|
|
226
|
-
<h3>Call Us : info@techcon2026.com</h3>
|
|
227
|
-
<h3>Mobile : 9894455123</h3>
|
|
228
|
-
</div>
|
|
229
|
-
</section>
|
|
230
|
-
<center>
|
|
231
|
-
<footer>@CopyRights Reserved by TechCon'2025</footer>
|
|
232
|
-
</center>
|
|
61
|
+
<section>
|
|
62
|
+
<h2>About</h2>
|
|
63
|
+
<p>This is a simple web page designed using HTML5 and CSS3.</p>
|
|
64
|
+
<button>Learn More</button>
|
|
65
|
+
</section>
|
|
233
66
|
|
|
67
|
+
<footer>
|
|
68
|
+
© 2026 My Website
|
|
69
|
+
</footer>
|
|
234
70
|
|
|
235
71
|
</body>
|
|
236
|
-
|
|
237
72
|
</html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "depd-v2",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"license": "ISC",
|
|
12
12
|
"type": "commonjs",
|
|
13
13
|
"dependencies": {
|
|
14
|
+
"depd-v2": "^1.1.0",
|
|
14
15
|
"ws": "^8.21.0"
|
|
15
16
|
}
|
|
16
17
|
}
|