Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
yycforever authored Dec 15, 2022
1 parent 3d2e402 commit c2dd8c5
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
100%{top:89%;}
}
body{
user-select: none;
background-image: url("https://th.bing.com/th/id/R.8bd6ea8aa923f79426f98942246013d1?rik=z3kYppPfT80M3w&pid=ImgRaw&r=0");
background-repeat: no-repeat;
background-size: cover;
Expand Down Expand Up @@ -95,18 +96,20 @@
</style>
</head>

<body onload="typekey()">
<body>
<div class="box">
<p class="words ch1">My Dear yyc</p>
<p class="words ch2"> Happy Birthday !</p>
</div>
<a href="https://yycforever.github.io/content" class="pulldown"></a>
</body>
<script>
function typekey(){
var key=prompt("Please enter the password.");
const ans="yyc should drink more milk.";
if(key!=ans)location.replace("https://yycforever.github.io/404");
}
(()=>{
// function typekey(){
var key=prompt("Please enter the password.");
const ans="yyc should drink more milk.";
if(key!=ans)location.replace("https://yycforever.github.io/404");
// }
})();
</script>
</html>

0 comments on commit c2dd8c5

Please sign in to comment.