34
[week1] Days 4 - Mini project around js and regex
Today I made a password verification by following online guides and from the knowledge acquired during the learning of regex , u can find it on codepen.io
While doing this project I realized how difficult it is to initialize a project so I'm writing it down for later in order to improve this aspect
On the freecode camp of the day I discovered a new way to use console to debug my programs
console.clear()
Cleans the contents of the console
console.log(..)
Allows you to display messages in the console. You can use wildcards and additional arguments with this method.
console.debug(..)
You can only see the contents printed by the console.debug(..) method if your Console is set to Log-Level="debug". By default, Log-Level="log"
console.debug(obj1 [, obj2, ..., objN]);
console.debug(message [, subst1, ..., substN]);
var myObj = {firsname:"John", lastname:"Doe"};
console.info(myObj);/*{firsname: 'John', lastname: 'Doe'}
firsname: "John"
lastname: "Doe"*/
console.warn("First warning");
console.warn("Second warning");
Writes in the browser console the content of the object in the form of a error with a warning pictogram in front of the line.
console.warn("First error");
console.warn("Second error");
PS:
34