ColeSite/pages/my-work.html

98 lines
4.6 KiB
HTML
Raw Normal View History

2021-12-27 00:20:43 +00:00
<HTML>
<head>
2021-12-27 19:53:20 +00:00
<link rel = "stylesheet" href = "../stylesheets/basics.css">
<link rel = "stylesheet" href = "../stylesheets/audio.css">
2021-12-27 00:20:43 +00:00
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=VT323&display=swap" rel="stylesheet">
2021-12-27 19:53:20 +00:00
<script src = "../scripts/audioPlayer.js" defer></script>
2021-12-27 00:20:43 +00:00
</head>
<body id = "body">
2021-12-27 19:53:20 +00:00
<div id = "title">
<h1>My Work</h1>
<a href = "../index.html">back</a>
</div>
2021-12-27 00:20:43 +00:00
<div id = "audioContainer">
2022-01-09 21:24:48 +00:00
<!--------------------------------------------------------------------------------------------->
2021-12-27 00:53:51 +00:00
<div class = "songTitle">two trucks having sex</div>
2021-12-27 00:20:43 +00:00
<div class = "audioPlayer">
2021-12-27 19:53:20 +00:00
<audio class = "audioElement" src = "../audio/twoTrucks.mp3" preload=”metadata”></audio>
2021-12-27 00:20:43 +00:00
<div class = "playButtonContainer">
2021-12-27 19:53:20 +00:00
<button class = "playButton"><img src = "../images/play.png"></button>
2021-12-27 00:20:43 +00:00
</div>
<input type="range" class="audioSlider" max="100" value="0">
<span class = "timeContainer">
0:00
</span>
<span class = "timeSeparator">/</span>
<span class = "durationContainer">
0:00
</span>
</div>
2022-01-09 21:24:48 +00:00
<!--------------------------------------------------------------------------------------------->
2021-12-27 00:53:51 +00:00
<div class = "songTitle">goodbye horses</div>
2021-12-27 00:20:43 +00:00
<div class = "audioPlayer">
2021-12-27 19:53:20 +00:00
<audio class = "audioElement" src = "../audio/goodbyeHorses.mp3" preload=”metadata”></audio>
2021-12-27 00:20:43 +00:00
<div class = "playButtonContainer">
2021-12-27 19:53:20 +00:00
<button class = "playButton"><img src = "../images/play.png"></button>
2021-12-27 00:20:43 +00:00
</div>
<input type="range" class="audioSlider" max="100" value="0">
<span class = "timeContainer">
0:00
</span>
<span class = "timeSeparator">/</span>
<span class = "durationContainer">
0:00
</span>
</div>
2022-01-09 21:24:48 +00:00
<!--------------------------------------------------------------------------------------------->
2021-12-27 00:53:51 +00:00
<div class = "songTitle">rats birthday mixtape</div>
2021-12-27 00:20:43 +00:00
<div class = "audioPlayer">
2021-12-27 19:53:20 +00:00
<audio class = "audioElement" src = "../audio/ratsBirthdayMixtape.mp3" preload=”metadata”></audio>
2021-12-27 00:20:43 +00:00
<div class = "playButtonContainer">
2021-12-27 19:53:20 +00:00
<button class = "playButton"><img src = "../images/play.png"></button>
2021-12-27 00:20:43 +00:00
</div>
<input type="range" class="audioSlider" max="100" value="0">
<span class = "timeContainer">
0:00
</span>
<span class = "timeSeparator">/</span>
<span class = "durationContainer">
0:00
</span>
</div>
2022-01-09 21:24:48 +00:00
<!--------------------------------------------------------------------------------------------->
<!--
ok so to add a song, copy this and replace the things written in fullcaps
paste it underneath above here underneath the long line of dashes
<div class = "songTitle">SONG TITLE</div>
<div class = "audioPlayer">
<audio class = "audioElement" src = "../audio/SONG FILE NAME.mp3" preload=”metadata”></audio>
<div class = "playButtonContainer">
<button class = "playButton"><img src = "../images/play.png"></button>
</div>
<input type="range" class="audioSlider" max="100" value="0">
<span class = "timeContainer">
0:00
</span>
<span class = "timeSeparator">/</span>
<span class = "durationContainer">
0:00
</span>
</div>
also worth copy and pasting the green line underneath just to make it easier for yourself next time you need to add a song
also, anything in green is a comment, you make comments using the symbols at the start and end of this bit
-->
2021-12-27 00:20:43 +00:00
</div>
</body>
</HTML>