Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

200
Vistas
What's the way to show the cointop 50 in webpage?
{loading ? (
        <strong>Loading...</strong>
      ) : (
        <ul>
          {coins.map((coin) => (
            <li>
              {coin.name} {coin.symbol} :{" "}
              {Math.round((myMoney / coin.quotes.USD.price) * 100) / 100}
              {"   "}
              {coin.symbol}
              {" can buy!"}
            </li>
          ))}
        </ul>
      )}

This is for React beignner Project,

now this source makes all coin objects return.

i already find how to use javascript statement. but can't find the way.

coin is using other website api(https://api.coinpaprika.com/v1/tickers)

how can i fix this problem?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

you can easily use

let startIndex=0;
let endIndex=50;
let coins50 = coins.slice(startIndex, endIndex)

also, you must define paging to show the rest of the data notice: you must keep data to component state

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda