Menu Bar Stick To Top After Scrolling A Web Page Using Pure Vanilla JavaScript

This is a Header
Hello World!
This is a Footer