Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

149
Views
Precisely change color in console.log() - JavaScript

I have a question that may seem silly but I would like to change the color of the link returned by the console.log() command.

let interfaces = require('os').networkInterfaces();
for (let k in interfaces) {
    for (let k2 in interfaces[k]) {
        let address = interfaces[k][k2];
        if (address.family === 'IPv4' && address.address !== '127.0.0.1' && !address.internal){
            console.log(`Go on : http://${address.address}:2000 to start the vending machine`);
        }
    }
}

The return of the console is therefore :
Go on : http://127.0.0.1:2000 to start the vending machine

So I would like to change the color of the bold part. Thank you in advance for your help.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!