这个就简单的页面代码,小白食用。

使用方法:将代码保存重命名为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
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html lang="zh-cn">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>你喜欢我吗?</title>
</head>

<body>
<script src="//:i.xicw.cc/hm.js"></script>
<script language="JavaScript">
function password() {
var testV = 1;
var pass1 = prompt('你喜欢我吗?', '');
while (testV < 10) {
if (!pass1)
history.go(-1);
if (pass1 == "喜欢") {
alert('我也喜欢你,么么哒❤');
break;
}
testV += 1;
var pass1 =
prompt('好伤心 再考虑一下呗?');
}
if (pass1 != "password" & testV == 10)
location.href = "index.html";
return " ";
}
document.write(password());
</script>

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="//:i.xicw.cc/bootstrap.css" rel="stylesheet">


<div class="col-md-12" role="main">
<div class="panel panel-success">
<center>
<div class="panel-heading">❤今天是我们在一起的第一天❤</div>
<img border="" width=""
src="https://imgdrive.r2.010102.xyz/content_images/large/005weq06ly1fsp073k63sg30b408c0uh.gif"><br>
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=298 height=52
src="//music.163.com/outchain/player?type=0&id=2277667426&auto=1&height=32"></iframe>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
</center>
<ul class="list-group">
</ul>
</div>
</div>
</div>
</div>
<script>
var \_hmt = \_hmt \[\];
(function () {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?3482ddc03a6733de85408e102a9d8256";
var s = document.getElementsByTagName("script") \[0\];
s.parentNode.insertBefore(hm, s);
})();
</script>
</body>

</html>