Creating Console Signatures in Javascript

Getting Started

console.log("Hello World");
console.log("%cHello World");
console.log("%cHello World", "background: coral;");

Advanced Styling

const consoleSignatureStyle = "font-size: 16px;" +
"background: #ff6d92 linear-gradient(to bottom left, #f5b200 0,
#fc636b 75%);" +
"color: white;" +
"text-align: center;" +
"padding: 10px 15px;" +
"width: 100%;" +
"border-radius: 20px;";
const consoleSignatureText = "%cArchivo del Santo";console.log(consoleSignatureText, consoleSignatureStyle);

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

This trick can speed up your JavaScript asynchronous code

JS: Underrated features

Basic user authentication in express — Part 2

Finding Locators for React JS Dynamic Drop Downs

All about ReactJS

Announcing DMScript’s Creative Event Winners!

What are .env files and how to use them in Nuxt

Tennis Racquet Data Mining

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Marcus Siegel

Marcus Siegel

More from Medium

Combining HTML, CSS & JS: Tetris Project Part 2: Creating the Visuals

Declaring Variables in Javascript

Building Beautiful Apis in Node js

How to simulate “Connection Reset” issue