Keep in mind that JavaScript treats capitalization as meaningful. myVariable, myvariable, and MyVariable are different names. This applies to everything: variables, functions, keywords, and built-in methods.
console.log() works. Console.Log() throws an error. When something doesn't work, check your capitalization first. This is one of the most common mistakes beginners make, and it's easy to fix once you know to look for it.