4th day _ Styling header was done
// header shows up when users scroll down over 230px
window.onscroll = () => {
let currentScrollPosition = window.pageYOffset;
const header = document.querySelector("header");
if (
currentScrollPosition > 230 &&
!hea...
nealyan20210217.hashnode.dev1 min read
Ayodele Samuel Adebayo
Software Engineer | Open-Source Contributor | Developer Educator
This came in the right time...thanks ๐