If you want buttons and sliders, HTML and CSS are perfect for that. They are way easier than Qt or any other framework. Let alone whatever that new browser has in place.
Yeah, for 2D interfaces I think that HTML/CSS basically solved the problem, finally, forever. Was soooo happy to switch to web development from doing Java Swing or native toolkits and APIs.
Sure, and you can even do it with a brainfuck to js transpiler.
But I think he meant do it EASILY, without first hacking a full GUI stack from a 2D/3D primitives library.