Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

102
Visualizações
Using JavaScript or html to pull live data(cryptocurrency statistics from another site)

I'm a beginner to coding and I'm creating a site on educating teens on cryptocurrency where I would like to have a page consisting of live data of different currencies using only javascript and html(css if needed to). Seen a lot on fetch api, etc, but really not sure on how to do it.

about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

You want to look for Jquery library for JS, HTML and CSS will not be enough to do api calls, JS will do that for you,

Having timer set to x amount to call the api and feed the html with data.

about 4 years ago · Juan Pablo Isaza Relatório

0

In JavaScript, to fetch data from a website, you can use the Fetch API.

This is an example that fetches data from this GitHub page.

fetch('https://api.github.com/zen')
.then(resp => resp.text())
.then(text => console.log(text));

If the response is in JSON, you can use resp.json() instead of resp.text() to parse it into a JavaScript object.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda