I have ran across a weird error with vs code saying that console.log is not recognized as a term (There is a picture below). I have searched through the vs code documentation, stack overflow, and scanned Google and YouTube and have found nothing related to my problem. Do you guys have any idea of what is going on?
Also, on an unrelated topic, I found a neat video about everything that you can do with the console command (actually that is when I noticed the problem lol ) Beyond Console Log in 100 Seconds - YouTube
So, you’re trying to run “console.log” in you terminal? But that is not a terminal command. That is JavaScript. You can use it in your JS code or in the JS console in your dev tools. It doesn’t mean anything in the terminal, afaik.
The output of the console.log may end up there, but that is not where you use it. console (in this case) is a JS module with a method log (among others) that will output data to your console. On a web page that is going to be your dev tools console, but if you are in a web env it may be your terminal window.
Okay, thanks @kevinSmith for your help and clarification.
Also, thanks @bbsmooth and @lasjorg , I’ll look intom the node.js cmd line, and I have been looking into Quokka and it looks like you can’t do anything unless you pay for the Pro version.