Custom html files

Good day everyone

Uhm is there a way to have a html file that opens in a new window when a button is clicked. And this html file goes and fetch its data from Javascript?