I've ported games to web using WASM. You still need to interact with HTML DOM using JS, no way around it.
You use WASM when you either need raw CPU speed, or you have some C++ code that you don't want to rewrite in JS.
If you just want to make a website, pure JS is better, unless you're that kind of dev who prefers to render their own text strings pixel by pixel.