-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
90 lines (88 loc) · 3.6 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<!-- Coding by CodingLab | www.codinglabweb.com-->
<html lang="en" dir="ltr">
<head>
<meta charset="UTF-8">
<!--<title> Login and Registration Form in HTML & CSS | CodingLab </title>-->
<link rel="stylesheet" href="styles.css">
<!-- Fontawesome CDN Link -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Donuts Run</title>
<script type="text/javascript" src="script.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
</head>
<body>
<div class="container">
<input type="checkbox" id="flip">
<div class="cover">
<div class="front">
<!--<img src="images/frontImg.jpg" alt="">-->
<div class="text">
<span class="text-1" id="result">Simply calculate the donuts :)</span>
</div>
</div>
<div class="back">
<!--<img class="backImg" src="images/backImg.jpg" alt="">-->
<div class="text">
<span class="text-1">Complete miles of journey <br> with one step</span>
<span class="text-2">Let's get started</span>
</div>
</div>
</div>
<div class="forms">
<div class="form-content">
<div class="login-form">
<div class="title">Donuts Run</div>
<form action="#">
<div class="input-boxes">
<div class="input-box">
<!-- <i class="fas fa-reacteurope"></i> -->
<input type="number" min="0" placeholder="Total amount of Donuts" required id="amount">
</div>
<div class="input-box">
<!-- <i class="fas fa-lock"></i> -->
<input type="number" min="0" max="100" placeholder="% of jam donuts" required id="percentageJam" oninput="checkValue(this);">
</div>
<div class="input-box">
<!-- <i class="fas fa-lock"></i> -->
<input type="number" min="0" max="100" placeholder="% of custard donuts" required id="percentageCustard" oninput="checkValue(this);">
</div>
<div class="input-box">
<!-- <i class="fas fa-lock"></i> -->
<input type="number" min="0" max="100" placeholder="% of nutella donuts" required id="percentageNutella" oninput="checkValue(this);">
</div>
<div class="button input-box">
<input type="button" value="Calculate" onclick="calculate()" id="btn">
</div>
</div>
</form>
</div>
<!-- <div class="signup-form">
<div class="title">Signup</div>
<form action="#">
<div class="input-boxes">
<div class="input-box">
<i class="fas fa-user"></i>
<input type="text" placeholder="Enter your name" required>
</div>
<div class="input-box">
<i class="fas fa-envelope"></i>
<input type="text" placeholder="Enter your email" required>
</div>
<div class="input-box">
<i class="fas fa-lock"></i>
<input type="password" placeholder="Enter your password" required>
</div>
<div class="button input-box">
<input type="submit" value="Sumbit">
</div>
<div class="text sign-up-text">Already have an account? <label for="flip">Login now</label></div>
</div> -->
</form>
</div>
</div>
</div>
</div>
</body>
</html>