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.
|
I feel like I overexplained this a bit, so poor you if you read till the end.
|
||||||
|
|
||||||
Have a cookie
|
|
||||||
<script>
|
<script>
|
||||||
function createCookie(name, value, days){
|
function createCookie(name, value, days){
|
||||||
var expires;
|
var expires;
|
||||||
@ -41,11 +40,6 @@ function createCookie(name, value, days){
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<html>
|
Have a <button onclick="createCookie('you_earned_it', 'cookie', 1)">cookie</button>
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<button onclick="createCookie('you_earned_it', 'cookie', 1)">Get your cookie</button>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user