Skip to content

Instantly share code, notes, and snippets.

View interglobalmedia's full-sized avatar
🎯
Looking for part-time remote work

Maria Campbell interglobalmedia

🎯
Looking for part-time remote work
View GitHub Profile
@interglobalmedia
interglobalmedia / stick-footer.css
Last active May 19, 2022 02:42
This short piece of CSS code can be used to create a sticky footer most of your applications
@interglobalmedia
interglobalmedia / gist:c2fc47cfecbbb241bbccae0be5f96621
Created May 10, 2020 21:06
play/pause button event listener
playButton.addEventListener('click', function() {
if (audioContext.state === 'suspended') {
// noinspection JSIgnoredPromiseFromCall
audioContext.resume();
}
// play or pause track
if (this.dataset.playing === 'false') {
audioElement.play();
this.dataset.playing = 'true';
playButton.innerHTML = `Pause`;
@interglobalmedia
interglobalmedia / SassMeister-input-HTML.html
Created December 11, 2015 04:09
Generated by SassMeister.com.
<nav>
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
</nav>