a simple guide to console.log

just cuz idk what the hell to do with this challenge

(the font is Montserrat btw)

ENJOY OR WHATEVER

hit the text down here vvv

hit me

i meant the text up there ^^^


Now press CTRL(CMD if u r rich) + SHIFT + I

look for the html element of what u just hit

right click it > break on > attribute modification

now HIT IT BABY one more time

now you know how to "debug" properties changes

Now im onna throw a lot of commands at u

this one just prints in the console

console.log('Hello there')


you can also add style to your printing!

console.log('%c I am some great text', background:red;)


DONT GET SCARED! THIS IS JUST A WARNING, literally

console.warn('did i scare u?)


DONT GET SCARED! THIS IS JUST A WARNING, literally

console.warn('did i scare u?')


404 NOT FOUND

console.error('funny, aint it?')


The Mitochondria is the Powerhouse of the Cell

console.info('oh, i didnt know that')


this one is cool af, it prints b if a is TRUE

console.assert(a, b)


now the next one is not suitable for sensitive

using this will group all the following prints

console.group('IM A GROUP, LOOK AT ME')

until it finds the next one

console.groupEnd('IM A GROUP, LOOK AT ME')


and if u wanna print it all collapsed, dont worry, here it is

console.groupCollapsed('guess waht, im collapsed')


last but not least, you can count the amount of times you've made a mistake!

(not really, it just prints the amount of times it has been called)

console.count('im the mistake')

THE END! (not really)

now, for my last magic trick i will make disappear all the console!

console.clear()