-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
72 lines (71 loc) · 2.52 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
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<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>Matrix Multiplier</title>
</head>
<body>
<div id="MatrixASpace">
<h2>Matrix A</h2>
<div id="matrix1">
<div id="matrix1Row1">
<input type="text" id="a11" size="1">
<input type="text" id="a12" size="1">
<input type="text" id="a13" size="1">
</div>
<div id="matrix1Row2">
<input type="text" id="a21" size="1">
<input type="text" id="a22" size="1">
<input type="text" id="a23" size="1">
</div>
<div id="matrix1Row3">
<input type="text" id="a31" size="1">
<input type="text" id="a32" size="1">
<input type="text" id="a33" size="1">
</div>
</div>
<br>
<button id="incCol1">+ Columns</button>
<button id="decCol1">- Columns</button>
<button id="incRow1">+ Rows</button>
<button id="decRow1">- Rows</button>
</div>
<div id="MatrixBSpace">
<h2>Matrix B</h2>
<div id="matrix2">
<div id="matrix2Row1">
<input type="text" id="b11" size="1">
<input type="text" id="b12" size="1">
<input type="text" id="b13" size="1">
</div>
<div id="matrix2Row2">
<input type="text" id="b21" size="1">
<input type="text" id="b22" size="1">
<input type="text" id="b23" size="1">
</div>
<div id="matrix2Row3">
<input type="text" id="b31" size="1">
<input type="text" id="b32" size="1">
<input type="text" id="b33" size="1">
</div>
</div>
<br>
<button id="incCol2">+ Columns</button>
<button id="decCol2">- Columns</button>
<button id="incRow2">+ Rows</button>
<button id="decRow2">- Rows</button>
<br><br>
</div>
<div id = "outputSpace">
<button id="multiplyABButton">Calculate</button>
<h2>Output (AB):</h2>
<p id="outputMessage"></p>
<div id="outputMatrix">
</div>
</div>
<script src="index.js"></script>
</body>
</html>