-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
37 lines (29 loc) · 1.02 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Greek Gods Family Tree</title>
<!-- D3 code snippet -->
<script src="https://d3js.org/d3.v6.min.js"></script>
<!-- Modal Stylesheet -->
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<!-- My Stylesheet -->
<link rel="stylesheet" type="text/css" href="style.css">
<meta charset="utf-8" />
</head>
<body>
<div id="container" class="svg-container">
<button type="button" id="controls" onclick="openControls();">Controls</button>
<button type="button" id="redraw" onclick="redraw();">Reset</button>
<button type="button" id="legends" onclick="openLegend();">Legend</button>
<div id="familyTree"></div>
</div>
<div id="modalContainer"></div>
<!-- God class -->
<script src="god.js"></script>
<!-- Javascript -->
<script src="sketch.js"></script>
<script>
openControls();
</script>
</body>
</html>