Story Sharing


Hi, I finished the coding for my adventure and would like to send it to someone via facebook to play. How do I do this?


Copy the code, then paste it in to a message as you would with any other text, then send and tell them to put it in a .js file and embed it in a HTML document

Click for an example of embedding code

<script src="helloworld.js"></script>
<!-- Or -->
console.log("Hello World!");


Or you can upload it to something like jsbin and share the link, which would probably be easier than setting up your own document.


Thanks, I saved it inside an html file, and it worked.