-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
61 lines (60 loc) · 2.55 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Chat - iCodeThis.com</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;1,100;1,200&display=swap" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
<link href="styles.css" rel="stylesheet" media="all" type="text/css">
</head>
<body>
<div id="container">
<div>
<h1>Help us do more</h1>
<p>
We'll get right to the poin: we're asking you to support us. We're a non profit that relies on support from other people like you. If everyone reading this gives $10 monthly, we can thrive for years.
</p>
</div>
<div>
Select gift frequency
<div class="type">
<span> </span>
<div>Monthly</div>
<div>One time</div>
</div>
<br>
Select amount in US Dollars<br><br>
<span class="amount">$10</span>
<span class="amount">$20</span>
<span class="amount active">$30</span>
<span class="amount">$40</span>
<span class="amount">other</span>
<br><br>
<input type="checkbox"> Yes, I'll generouslyadd $0.75 each month to cover the transaction fees.
<br><br>
Name<br>
<input type="text" placeholder="Enter your name">
<br><br>
<button>Donate now</button>
</div>
</div>
<script>
$(".type div:first-of-type").click(function() {
$(".type > span").css("left", "12px");
$(".type > span").css("right", "");
});
$(".type div:last-of-type").click(function() {
$(".type > span").css("right", "12px");
$(".type > span").css("left", "");
});
$('.amount').click(function() {
$('.amount').removeClass('active');
$(this).addClass('active');
});
</script>
</body>
</html>