Added cookies
This commit is contained in:
parent
343a2bb2f5
commit
33f31185c6
@ -25,7 +25,6 @@ The Hy stayed as I always had a close connection to water.
|
||||
|
||||
I feel like I overexplained this a bit, so poor you if you read till the end.
|
||||
|
||||
Have a cookie
|
||||
<script>
|
||||
function createCookie(name, value, days){
|
||||
var expires;
|
||||
@ -41,11 +40,6 @@ function createCookie(name, value, days){
|
||||
}
|
||||
</script>
|
||||
|
||||
<html>
|
||||
</head>
|
||||
<body>
|
||||
<button onclick="createCookie('you_earned_it', 'cookie', 1)">Get your cookie</button>
|
||||
</body>
|
||||
</html>
|
||||
Have a <button onclick="createCookie('you_earned_it', 'cookie', 1)">cookie</button>
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user