generated from Code-Institute-Org/gitpod-full-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
56 lines (39 loc) · 1.87 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
50
51
52
53
54
55
56
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--link to google fonts and font awesome-->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css"
integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Raleway%7CRighteous" rel="stylesheet">
<link rel="stylesheet" href="assets/css/style.css">
<title>The Pacemaker</title>
<!--Favicon-->
<link rel="icon" type="image/png" sizes="32x32" href="assets/favicon/favicon-32x32.png">
</head>
<body>
<div class="container">
<h1>
<img class="logo" src="assets/images/runningicon.png" alt="logo">
The Pacemaker
<img class="logo" src="assets/images/runningicon.png" alt="logo">
</h1>
<!--input fields for the users-->
<input type="number" id="distance" placeholder="Distance (kilometers)">
<input type="text" id="pace" placeholder="Pace (mm:ss)" pattern="\d{2}:\d{2}">
<input type="text" id="time" placeholder="Time (hh:mm:ss)" pattern="\d{2}:\d{2}:\d{2}">
<button id="calculate">Run!</button>
<button id="reset">Reset</button>
<p id="resultDistance">Distance will be shown here</p>
<p id="resultPace">Pace will be shown here</p>
<p id="resultTime">Time will be shown here</p>
</div>
<footer>
<p>*Find your running pace per kilometer. Calculate the distance you can run in a given
amount of time, time required to run a specific distance, or your running pace. Put in two of the known
values in the right format (hh:mm:ss) to get the result. </p>
</footer>
<script src="assets/js/script.js"></script>
</body>
</html>