You built the memory game, and you want to add some controls, not navigational controls, never add navigation to the app bar in any language.
Make sure to review the following, if you were around during the paper documentation days, you get the manual then certain pages would wear out after awhile, in this case you should refer to this document often and during idle times:
Then the correct QuickStart
Now that you have the HTML 5 Memory game working, try this article out as a way to convert your application. Let me know via the comments how the Quickstart worked for you.