-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRandomActsOfKindness.html
More file actions
42 lines (39 loc) · 1.16 KB
/
RandomActsOfKindness.html
File metadata and controls
42 lines (39 loc) · 1.16 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Random Acts of Kindness Generator</title>
<style>
body {
font-family: 'Arial', sans-serif;
text-align: center;
margin: 50px;
}
h1 {
color: #4CAF50;
}
button {
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 5px;
margin-top: 20px;
}
</style>
</head>
<body>
<h1>Random Acts of Kindness Generator</h1>
<p id="kindness-act"></p>
<button onclick="generateRandomAct()">Generate Random Act of Kindness</button>
<script src="script.js"></script>
<p id="kindness-act"></p>
<button onclick="generateRandomAct()">Generate Random Act of Kindness</button>
<button onclick="logKindness()">I Completed an Act of Kindness!</button>
<p id="great-job-message"></p>
<p id="kindness-streak"></p>
</body>
</html>