index pseudo cookie

This commit is contained in:
Baptiste 2023-11-29 17:51:06 +01:00
parent 5d1a672094
commit 2440fa114b

View file

@ -25,5 +25,11 @@
</div>
</main>
</body>
</html>
<script>
pseudo = document.getElementById('form_input')
window.addEventListener('keyup', (event) => {
document.cookie = "pseudo="+pseudo.value
})
</script>