-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (47 loc) · 1.62 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
<!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" />
<link
href="https://fonts.googleapis.com/css?family=Amatic+SC:regular,700"
rel="stylesheet"
/>
<title>S&P 500</title>
<link rel="stylesheet" href="style.css" />
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="app.js" type="module" defer ></script>
<script src="./src/table.js" type="module" defer ></script>
</head>
<body>
<div class="wrapper">
<header>
<div id="data_chart_heading">
<h1 class="heading__text">S&P 500®</h1>
</div>
<div class="tab">
<button class="tablinks active" id="show_table">Table</button>
<button class="tablinks" id="show_chart">Chart</button>
</div>
</header>
<div id="container_data"> </div>
<div class="container_main" id="table_container">
<div class="tabcontent" id="table">
</div>
</div>
<div class="tabcontent" id="data_chart_container">
<div>
<canvas id="myChart"></canvas>
</div>
</div>
<div class="date_sort">
<div><label id="date__start-text">Start date:</label>
<input class="input_date" type="date" id="date__start_value" /></div>
<div> <label id="date__end-text">End date:</label>
<input class="input_date" type="date" id="date__end_value" /></div>
<button id="sumbitDate">Submit</button>
</div>
</div>
</body>
</html>