On the other hand, the layout model of WPF is a lot easier than mastering html+css.
JS desktop apps still mostly don't work without embedding a browser like electron and that ranges from annoying (e.g. for size/memory reasons) to impossible (for things like a plugin where you have a constrained environment, need to launch instantly etc).
The middle ground is desktop js using system browsers, but it's pretty painful to do too.