SyntaxFix
Write A Post
Hire A Developer
Questions
<button class="closeButton" style="cursor: pointer" onclick="window.close();">Close Window</button>
this did the work for me