I finished my project using Brackets and all is working fine once uploaded to a server, however when I try copy my code into CodePen for the FFC Projects the JavaScript is not working.
Ooops, I thought I had added it, except I had added jQuery UI instead. Thanks heaps @kevcomedia. Its funny how frustrated you can get and the problem turns out to be the most simple thing lol.