23
How to style console.log();
I guess that your first code of JS was
console.log('Hello World')
So, have you wondered about styling it? 🤔
nevermind...
I am going to take the Discord warning message into account as an example

console.log(text, styling)
When you style there will be two things you need to take note of.
%c
; and it is a very important thing and without it, styling will not apply to the textLet's head up to the code,
console.log('%cHold Up', 'color: #404EED; font-size: 60px; font-weight: bold;-webkit-text-stroke: 1px black;');
console.log("%cIf someone told you to copy/paste something here you have an 11/10 chance you're being scammed", "color: black; font-size: 18px;")
console.log("%cPasting anything in here could give attackers access to your Discord account.", "color: red; font-size: 18px; font-weight: bold;")
So, found this simple? If not you can dive into comments to ask questions...
Why not share your styling to the console.log(), I am very excited to see yours
Make sure to subscribe to my YouTube Channel I regularly upload some amazing web development videos...
Your support gives me motivation 💪
23