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

189
Views
How to display console.log in HTML

How can I display console.log in html?
I tried many things but can't get it.
I want this out.guild.members.length to display in html. Someone can help me?

Thanks!

let url = 'MyURL';

fetch(url)
// Send an HTTP request to the API using fetch.
.then(res => res.json())
// Parse the data as JSON.
.then((out) => {
  console.log(out.guild.members.length);
  // Retrieve the member count.
 
})
.catch(err => { throw err });
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

i'm not quite getting your question but if you want to display out.guild.members.length in some div in HTML you can add a div inside your HTML.

HTML:

<div id="log"></div>

JS:

document.getElementById("log").innerHTML=out.guild.members.length;
about 4 years ago · Juan Pablo Isaza Report
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!