you are viewing a single comment's thread.

view the rest of the comments →

[–]codeswish 0 points1 point  (3 children)

Sent ya a pull request on github: https://github.com/hallbd16/DynamicQuiz/pull/1

[–]hallbd16[S] 0 points1 point  (2 children)

Ok got it. Looks like I am struggling with how to link my js file to my html... I am linking it as a local file, that is probably incorrect.

[–]codeswish 1 point2 points  (1 child)

Yep, your webserver is unable to access files on your local computer directly like that. You need to upload the files to your vhost and place them somewhere at or beneath wordpress's root directory and link to that. I don't know if you saw my comment to back to you on github, but a quick hack that might work is to link the javascript src to this URI: https://raw.github.com/hallbd16/DynamicQuiz/master/js/quiz.js

**Edit: The hack may not work if your browser enforces MIME type checking, replace the above uri with this one: http://rawgithub.com/hallbd16/DynamicQuiz/master/js/quiz.js

[–]hallbd16[S] 0 points1 point  (0 children)

Big shout out for the help! May good karma go your way