forked from Technigo/project-github-tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
43 lines (41 loc) · 1.77 KB
/
index.html
File metadata and controls
43 lines (41 loc) · 1.77 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
<!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" />
<title>Project GitHub Tracker</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500;700&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="./style.css" />
</head>
<body class="body">
<h1 class="header">GitHub Tracker</h1>
<section class="user-data" id="userData"></section>
<h2 class="project-header">Projects:</h2>
<section class="filters-sorting">
<p class="filters-sorting-heading">Sort by:</p>
<button class="sort-btn" id="sortSizeBtn">size</button>
<button class="sort-btn" id="sortUpdateBtn">last update</button>
<button class="sort-btn" id="sortCreatedBtn">created</button>
<button class="sort-btn" id="sortCommitsBtn">commits</button>
<button class="sort-btn" id="sortNameBtn">name</button>
</section>
<section class="filters-sorting">
<p class="filters-sorting-heading">Filter by:</p>
<button class="sort-btn" id="filterLangJsBtn">JavaScript</button>
<button class="sort-btn" id="filterLangHtmlBtn">HTML</button>
<button class="sort-btn" id="filterAllBtn">All</button>
</section>
<main class="projects" id="projects"></main>
<!-- This will be used to draw the chart 👇 -->
<canvas class="chart" id="chart"></canvas>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="./chart.js"></script>
<script src="./script.js"></script>
</body>
</html>