How do i make multiple windows with javascript

So im tryna make a browser thing for fun and i just have no idea how i can either make a menubar like what gdevelop used to have with the little bar under the bar with the Close minimize and maximize buttons or how to make more windows.