n.addEventListener('click', toggleStickyNav => {
    navWrapper.classList.toggle('sticky-nav');
    (navWrapper.classList.contains('sticky-nav') ? onOffHTML.innerHTML = on : onOffHTML.innerHTML = off);
  });

})();
  
  </script>
</body>
</html>