(the font is Montserrat btw)
hit me
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
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)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')now, for my last magic trick i will make disappear all the console!
console.clear()