Heres another quick tip on how to change the color of the header / navigation bar when users scroll down / up on your website using vanilla JS. Please feel free to ask any questions in the comments.
Subscribe: https://www.youtube.com/channel/UCcNEvbajb34cXufYddZ57og
#javascript