Thanks bro for the positive feedback
THe game was made on my mobile phone with a text editor for HTML, CSS and JavaScript. I was busy with school stuff so I had less than 5 hours to make something playable that's why I had to look over the bugs.
For the separate window win screen, I just made a separate page for exactly that and linked them together 😅