commit ec279553f862d1c19fd1caa6d98c2ce1b11dcfb7 Author: Zoey Date: Sun Apr 23 11:01:25 2023 -0700 Initial commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..ffc81ab --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# pipefall + +falling pipe diff --git a/index.css b/index.css new file mode 100644 index 0000000..9d23ceb --- /dev/null +++ b/index.css @@ -0,0 +1,3 @@ +body { + font-family: sans-serif; +} diff --git a/index.html b/index.html new file mode 100644 index 0000000..d16d23f --- /dev/null +++ b/index.html @@ -0,0 +1,17 @@ + + + + + + + pipefall + + + + +

pipefall

+ +

+ + + diff --git a/index.js b/index.js new file mode 100644 index 0000000..0236723 --- /dev/null +++ b/index.js @@ -0,0 +1,13 @@ +(function () { + "use strict"; + + const pipefall = document.getElementById("pipefall"); + const now = document.getElementById("play-now"); + + const play = () => { + console.log("pipefall!"); + pipefall.play(); + }; + + now.addEventListener("click", play); +})(); diff --git a/pipefall.mp3 b/pipefall.mp3 new file mode 100644 index 0000000..b50c66d Binary files /dev/null and b/pipefall.mp3 differ