add pipe image

This commit is contained in:
Zoey 2023-04-23 11:18:26 -07:00
parent 23b42d1006
commit d246b4b0ac
No known key found for this signature in database
GPG key ID: 0E87B6A5795E040B
4 changed files with 17 additions and 1 deletions

View file

@ -1,3 +1,12 @@
body {
font-family: sans-serif;
}
.pipe {
max-width: 50%;
cursor: pointer;
}
.center-contents {
text-align: center;
}

View file

@ -9,8 +9,11 @@
</head>
<body>
<h1>pipefall</h1>
<audio id="pipefall" src="/pipefall.mp3">pipefall</audio>
<h1>pipefall</h1>
<p class="center-contents">
<img class="pipe" src="/pipe.jpg" alt="metal pipe from metal pipe fallout sound effect videos">
</p>
<p><button id="play-now">play now</button></p>
</body>

View file

@ -10,4 +10,8 @@
};
now.addEventListener("click", play);
for (let pipe of document.querySelectorAll(".pipe")) {
pipe.addEventListener("click", play);
}
})();

BIN
pipe.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB