ERROR418 commited on
Commit
9a7b5fb
·
verified ·
1 Parent(s): e2a14eb

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +87 -18
index.html CHANGED
@@ -1,19 +1,88 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Address Checker</title>
7
+ <style>
8
+ body {
9
+ font-family: Arial, sans-serif;
10
+ background-color: #f0f0f0;
11
+ margin: 0;
12
+ padding: 0;
13
+ }
14
+ .container {
15
+ max-width: 600px;
16
+ margin: 50px auto;
17
+ padding: 20px;
18
+ background-color: #fff;
19
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
20
+ }
21
+ .form-group {
22
+ margin-bottom: 15px;
23
+ }
24
+ .form-group label {
25
+ display: block;
26
+ margin-bottom: 5px;
27
+ }
28
+ .form-group input {
29
+ width: 100%;
30
+ padding: 8px;
31
+ box-sizing: border-box;
32
+ }
33
+ .form-group button {
34
+ padding: 10px 15px;
35
+ background-color: #007bff;
36
+ color: #fff;
37
+ border: none;
38
+ cursor: pointer;
39
+ }
40
+ .form-group button:hover {
41
+ background-color: #0056b3;
42
+ }
43
+ .result {
44
+ margin-top: 20px;
45
+ }
46
+ </style>
47
+ </head>
48
+ <body>
49
+ <div class="container">
50
+ <h1>Address Checker</h1>
51
+ <form id="addressForm">
52
+ <div class="form-group">
53
+ <label for="password">Password:</label>
54
+ <input type="password" id="password" name="password" required>
55
+ </div>
56
+ <div class="form-group">
57
+ <label for="account">Account:</label>
58
+ <input type="text" id="account" name="account" required>
59
+ </div>
60
+ <div class="form-group">
61
+ <button type="button" onclick="checkAddress()">Check Address</button>
62
+ </div>
63
+ </form>
64
+ <div class="result" id="result"></div>
65
+ </div>
66
+
67
+ <script>
68
+ function checkAddress() {
69
+ const password = document.getElementById('password').value;
70
+ const account = document.getElementById('account').value;
71
+ const resultDiv = document.getElementById('result');
72
+
73
+ if (password === 'wxm1986977075@163.com' && account === 'HongShi') {
74
+ const addresses = [
75
+ 'http://address1.com',
76
+ 'http://address2.com',
77
+ 'http://address3.com'
78
+ ];
79
+
80
+ let availableAddress = addresses[Math.floor(Math.random() * addresses.length)];
81
+ resultDiv.innerHTML = `<p>Available Address: <a href="${availableAddress}" target="_blank">${availableAddress}</a></p>`;
82
+ } else {
83
+ resultDiv.innerHTML = '<p>Invalid password or account.</p>';
84
+ }
85
+ }
86
+ </script>
87
+ </body>
88
  </html>