// Get the button: let mybutton = document.getElementById("myBtn"); // When the user scrolls down 20px from the top of the document, show the button window.onscroll = function() {scrollFunction()}; function scrollFunction() { if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) { mybutton.style.display = "block"; } else { mybutton.style.display = "none"; } } // When the user clicks on the button, scroll to the top of the document function topFunction() { document.body.scrollTop = 0; // For Safari document.documentElement.scrollTop = 0; // For Chrome, Firefox, IE and Opera }
  • Where is she Going?

    Where is she Going?

    It’s almost time! In a few short days, I’ll be packing my car up with (what I hope to be) everything I need for this epic journey I’m about to take. While doing my research for this road trip, I found a great way to plot out my path. Of course, because I’m the secretive…

    Read more…

  • It’s not the end, it’s the beginning…

    It’s not the end, it’s the beginning…

    First, let me start by saying it has been a long time since I’ve written for myself. I’ve spent almost 20 years writing for work in some capacity or another, so writing like this, it’s going to be challenging. But I have to do it because, for the first time in 12 years and 7…

    Read more…