Why my website is better than yours
Fox Wilson
17036
You can reduce the number of lines in your JS by doing a conditional (ternary) operator in your displayFooter function:
document.getElementById(“footer”).style.display = document.body.scrollTop ? “block”: “none”;