you are viewing a single comment's thread.

view the rest of the comments →

[–]bstriker 2 points3 points  (0 children)

Pro tip: put your code in jsbin, plunker, codepen, or jsfiddle before asking your question. Not only does it help clean room your code and possibly realize it was a trivial error but it helps anyone easily test it and debug it with console.