September 2018
Intermediate to advanced
328 pages
9h 10m
English
Let's test our code out in the browser. From the VS Code terminal, make sure you're in the /book-examples folder and run the command to start up a local server:
serve -l 8080
It's important that you're in the /book-examples folder. If you try serving up the code in the /chapter-05-create-load-module folder only, you won't be able to use the loadWasm() function. If you open up your browser to http://127.0.0.1:8080/chapter-05-create-load-module/without-glue.html, you should see this:

Try pressing the Pause button; the caption should change to Start and the rectangle should stop ...
Read now
Unlock full access