Using JS from github in HTML questions.



  • Hello I am having trouble using code from github in HTML questions.

    For simplicity, I would like to use code from https://github.com/dionyziz/ca...

    I cannot seem to get the game to display at all, I would think if I just link to the source files at the start of the JavaScript it should run, unfortunately it does not.  I am finding this is happening with nearly all JS files I link to.

    Any ideas?

    Mark



  • Hello Mark, as far as I am aware you will need to call the scripts as part of the Question HTML, but the source location needs to be pointing to the full path of the scripts as located on the server.

    Or you could just put the codes from the JS files into the Question JavaScript field.


Log in to reply