-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresults.html
45 lines (42 loc) · 1.12 KB
/
results.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
<!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>Server</title>
<style>
a {
background-color: black;
color: white;
font-size: var(--fs-24);
font-weight: var(--fw-medium);
padding: 1rem 1rem;
margin-top: 3rem;
border-radius: 10px;
text-decoration: none;
font-family: monospace;
font-weight: bold;
transition: 0.15s;
cursor: pointer;
}
a:hover {
background-color: white;
color: black;
border: 2px solid black;
}
</style>
</head>
<body>
<div id="results"></div>
<br />
<a href="/">Back to Home</a>
<script>
const resultsList = document.getElementById("results");
new URLSearchParams(window.location.search).forEach((value, name) => {
resultsList.append(`${name}: ${value}`);
resultsList.append(document.createElement("br"));
});
</script>
</body>
</html>