JavaScript
Nwosa Tochukwu

Nwosa Tochukwu @obere4u

About: A frontend (React) developer on a mission to build beautiful, user-friendly websites. Passionate about learning and growing in this exciting field...…..

Location:
Nigeria
Joined:
Aug 16, 2021

JavaScript

Publish Date: Jan 14 '23
0 1

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.

Comments 1 total

  • Nwosa Tochukwu
    Nwosa Tochukwu Jan 14, 2023

    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

Add comment