From 7889b5d047742a402fdea1471ab1a5118c4030a4 Mon Sep 17 00:00:00 2001 From: constantin Date: Thu, 5 Sep 2024 19:59:53 +0200 Subject: [PATCH] move js --- assets/js/app.js | 2 ++ index.html | 6 +----- 2 files changed, 3 insertions(+), 5 deletions(-) create mode 100644 assets/js/app.js diff --git a/assets/js/app.js b/assets/js/app.js new file mode 100644 index 0000000..0b80e6f --- /dev/null +++ b/assets/js/app.js @@ -0,0 +1,2 @@ +const audioElement = document.querySelector('#audio'); +document.body.addEventListener("mousemove", () => {audioElement.play()}); \ No newline at end of file diff --git a/index.html b/index.html index 63bd6ea..6e931d1 100644 --- a/index.html +++ b/index.html @@ -1,13 +1,9 @@ +

This site is still under construction

-