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

186
Views
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 answers
Answer question

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 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!