Story Sharing


#1

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?
Thanks,
Savannah


#2

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 -->
<script>
console.log("Hello World!");
</script>


Playing with a plugin
#3

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


#4

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