-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpwd_test.html
More file actions
33 lines (33 loc) · 1.48 KB
/
Copy pathpwd_test.html
File metadata and controls
33 lines (33 loc) · 1.48 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
<html lang="en">
<head>
<title>Login</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="https://use.typekit.net/dpq7kfb.css" />
<link rel="stylesheet" href="https://dejonghee.github.io/style/normalize.css" />
<link rel="stylesheet" href="https://dejonghee.github.io/style/settings.css" />
<link rel="stylesheet" href="https://dejonghee.github.io/style/header.css" />
<link rel="stylesheet" href="https://dejonghee.github.io/style/input.css" />
<link rel="stylesheet" href="https://dejonghee.github.io/style/page.css" />
<link rel="stylesheet" href="https://dejonghee.github.io/style/button.css" />
<link rel="stylesheet" href="https://dejonghee.github.io/style/login-container.css" />
<link rel="stylesheet" href="https://dejonghee.github.io/style/sign-up.css" />
</head>
<body>
<div class="c-header">
<div class="c-header__wrapper">
<img class="c-header__logo" src="https://dejonghee.github.io/media/logo.svg" />
</div>
</div>
<div id="api"></div>
</body>
<script>
const params = new Proxy(new URLSearchParams(window.location.search), {
get: (searchParams, prop) => searchParams.get(prop)
});
console.log(params);
let hint = params.email;
console.log(hint);
console.log(document.getElementById("email"));
document.getElementById("email").value = hint;
</script>
</html>