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

使用方法:将代码保存重命名为index.html然后上传到网站服务器上。

<!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://cdn.yanwz.cn/content/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>


本文最后更新于2018-6-26,已超过一个月没有更新,如果文章内容或图片资源失效,请留言反馈,我们会及时处理,谢谢!
[百度未收录] | [360未收录] | [搜狗已收录]