-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
29 lines (22 loc) · 993 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
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='UTF-8'>
<title>Population graph app</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="./styles.css">
<script defer src='https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.js'></script>
<script defer src='./myChart.js'></script>
</head>
<body>
<div class='content'>
<h1>Population graphs</h1>
<p>Enter three letter <a href="https://en.wikipedia.org/wiki/ISO_3166-1#Current_codes" target="_blank">country code</a></p>
<input class='textinput' placeholder='Country' type='text' id='country' maxlength='3'/>
<p>
<button class='button' id='renderBtn'>Render population graph</button>
</p>
<div class='container'><canvas id='myChart'></canvas></div>
</div>
</body>
</html>