-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
61 lines (52 loc) · 1.83 KB
/
Copy pathindex.html
File metadata and controls
61 lines (52 loc) · 1.83 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Mathcraft</title>
<link rel="stylesheet" href="./Mathcraft/Home/s.css" />
<link rel="icon" href="./Mathcraft/images/smallLogo.png" type="image/x-icon" />
</head>
<body>
<div class="background-elements">
<!-- Equations will be dynamically added here -->
</div>
<div class="main-container">
<div class="content">
<img src="./Mathcraft/images/logoNobg_upscaled.png" alt="Mathcraft Logo" />
<h3>An immersive approach to visualizing the world of mathematics</h3>
<div class="flex">
<div>
Whether you're a student, teacher, or math enthusiast, MathCraft is
your go-to tool for <br />visualizing and understanding complex
<br />
mathematical concepts.
</div>
<div>
<button id="button">Start Calculator</button>
<button id="manualButton">User Manual</button>
</div>
</div>
</div>
<video controls src="./Mathcraft/Video/video.mp4" poster="./Mathcraft/images/main.png"></video>
</div>
<div class="credits">By Arnav kothari.</div>
<script src="./Mathcraft/Home/script.js"></script>
<script>
let button = document.getElementById("button");
let manualButton = document.getElementById("manualButton");
button.onclick = (event) => {
let aTag = document.createElement("a");
aTag.href = "./Calculator.html";
aTag.target = "_blank";
aTag.click();
};
manualButton.onclick = (event) => {
let aTag = document.createElement("a");
aTag.href = "./Mathcraft/User manual/manual.pdf";
aTag.target = "_blank";
aTag.click();
};
</script>
</body>
</html>