-
Notifications
You must be signed in to change notification settings - Fork 0
/
array_sum_2.html
51 lines (47 loc) · 1.5 KB
/
array_sum_2.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
<!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">
<script src="array_sum_2.js"defer></script>
<link rel="stylesheet" href="style_array_sum_2.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0" />
<title>Document</title>
</head>
<body>
<main>
<h1>Understanding the Sum of Arrays</h1>
<div class="cont">
<pre>
Array 1 <span class="material-symbols-outlined">
arrow_downward
</span>
[19 80 1]
[44 21 4]
[27 54 3]
</pre>
<div class="res">
<button id="sumBtn" onclick="sum()">
Calcule me
</button>
<h2 id="res">
Result
<span class="material-symbols-outlined">
arrow_downward
</span>
<br>
</h2>
</div>
<pre>
Array 2 <span class="material-symbols-outlined">
arrow_downward
</span>
[91 10 8]
[44 2 14]
[72 43 15]
</pre>
</div>
</main>
</body>
</html>