The HTML file below shows how to import minimal-slp-wallet into a web page and query the balance of a BCH address from the blockchain. This is a simple example for interacting with the BCH blockchain with a web page.
A live demo of this app has been uploaded to Filecoin, and can be accessed here: