I'm trying to follow this tutorial:
https://www.youtube.com/watch?v=2zmUSoVMyRU
And at the beginning he is typing in commands in the console such as
$('a')
which appears to be returning all the a tags in the dom. When I do this on my website, I get
TypeError: $ is not a function(…)
I also get this when running console.log as a command
function Function() { [native code] }
Im wondering is there something I have missed completely with dev tools, or is it that there might be some problem with my website overwriting the console.log function (i use wordpress)?
There is also a comment at the bottom where a user is having a similar problem (undefined errors), but it doesnt seem they resolve it.