1

I'm quite new to javascript, HTML... I've learned quite enough with HTML but don't understand js as much (a little basics)I want to tell some info in the console to the person that goes to the console on my site, I know you obviously have to console.log in but I want to design it like discord, if you go to https://discordapp.com/ and go to the console you can see something like what is in this picture

this picture

how would I do that?

console.log("Some text to be displayed in the console");
houman.sanati
  • 869
  • 3
  • 14
  • 29
  • You can click *line number* on the right side of that dev tool window to check the actual code :) – Eddie Apr 04 '19 at 17:34
  • I know i can but it takes long to openup the js file, it's kinda big for my pc it lags rip –  Apr 04 '19 at 17:34

1 Answers1

2
console.log("%c" + "Hold Up!", "color: #7289DA; -webkit-text-stroke: 2px black; font-size: 72px; font-weight: bold;");

Regards

Jesus Africano
  • 101
  • 1
  • 5