We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e7200a commit ded93a5Copy full SHA for ded93a5
code/chart.js
@@ -0,0 +1,4 @@
1
+//DOM-selector for the canvas 👇
2
+const ctx = document.getElementById('chart').getContext('2d')
3
+
4
+//"Draw" the chart here 👇
code/index.html
@@ -9,7 +9,13 @@
9
</head>
10
<body>
11
<h1>GitHub Tracker</h1>
12
+ <h2>Projects:</h2>
13
<main id="projects"></main>
14
15
+ <!-- This will be used to draw the chart 👇 -->
16
+ <canvas id="chart"></canvas>
17
18
<script src="./script.js"></script>
19
+ <script src="./chart.js"></script>
20
</body>
21
</html>
0 commit comments