You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// This should be red colorconsole.log("\x1b[31m; %s \x1b[0m","Hello world");// for some more colorsfor(leti=1;i<10;i++){for(letj=30;j<38;j++){for(letk=40;k<48;k++){console.log(`\x1b[${i};${k};${j}m Hello world \x1b[0m`);}}}
The text was updated successfully, but these errors were encountered:
add colors to console.log in javascript projects.
For nodejs:
The text was updated successfully, but these errors were encountered: