I want to build a browser-based user interface for eos d-app that allows the user to perform various actions like:
Input a text string to eos app Check wallet balance and activities transfer tokens to another person
I've seen a lot of different options (Node.js, webassembly, etc..) but I'm not sure which language or package to use in my eos d-app that is written in .cpp
Web Assembly is used in order to run a smart-contract from the blockchain. (Keep in mind that you cpp file is executed as a wasm file.)
About your gui i think that nodejs is the best option by far due to easy integrating of EOS with Nodejs
You can check this: Integrating EOS with Nodejs