/*
shortcuts:
command K = clears the console
command shift M = toggle device toolbar
command shift C = select something on the page
you can also log in a variable you may have coded:
x;
[value of x at that moment]
if you're animating something:
noLoop();
[stops the animation]
loop();
[continues the animation]
you can also code somewhat intricate text:
for (var i = 0; i > 10; i++) {
console.log([variable or anything]);
}
some functions are also available to use:
function mousePressed() {
console.log([anything]);
}
function keyPressed() {
noLoop(); [or anything else]
}
*/
The Console can be used to log information as part of the JavaScript development process, as well as allow you to interact with a web page by carrying out JavaScript expressions within the page's context. Essentially, the Console provides you with the ability to write, manage, and monitor JavaScript on demand