How to create simple html view without using doctype?


I just want to create a button which redirects user to different view, where i can put my own html, js. I found something like “Page” in developer API but it doesnt work.

code executed after click event:

let page = frappe.ui.make_app_page({
title: ‘My Page’,
parent: frm.wrapper
single_column: true

How to achive that?