DEV Community

Nwosa Tochukwu
Nwosa Tochukwu

Posted on

JavaScript

Started a JavaScript course on Coursera.

Hopefully, this course will be what will set me on the right course to fully understand arrays, objects, and DOM in JavaScript and use it to build some apps.
I will also test my knowledge with a code challenge

I wish that within 6 months' time, I will get a job so that I can be to get that real company working environment.

Top comments (1)

Collapse
 
obere4u profile image
Nwosa Tochukwu

Just learned that we can style the output of our console.log using some vanilla CSS styling.
to do so,

We simply need to add %c immediately after the opening " and the after the closing " we add a coma , followed by " " and in between the quotes will be our styling.

eg

console.log("%cHello World", "color: purple; font-szie: 40px");
will set the output Hello World in purple color with font-size of 40px

Image description