-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
32 lines (26 loc) · 865 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Word Counter</title>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
</head>
<style>
.chartWrapper {
max-width: 200px;
}
</style>
<body>
<div class="chartWrapper">
<canvas id="wordCount" height="200" width="200"></canvas>
<input type="text" placeholder="word count to add" id="wordCountToAdd">
<input type="date" id="datepicker">
<button type="button" onclick="addWords(wordCountArr);">Add New Word Count</button>
<button type="button" onclick="resetter(wordCountArr);">Reset Word Count</button>
<div id="message"></div>
</div>
</div>
<script src="/js/countGraph.js"></script>
</body>
</html>