Substitute for console.log


Console.log is fine and all, but I think Codecademy overuses it. Outside of Codecademy, what can I use as a substitute? Does text(); from processing js work?


If you work with a website you will most probably work directly with the HTML elements, like changing some text or an image on a webpage and even show or hide certain elements like a button for example.

In the Introduction to JavaScript course you’re only working with the console and it is the easiest way to see the output of your code.