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

103
Views
How to take user input from one react component and use it to generate a portion of a json file in a different react component?

On a word game start page, a user can select a number between 5-8 from a drop-down menu. I need to use their selected number in the game play component to generate a random set of words that have the same length as their selection from sets of words stored in a json file. I'll then need to display the random selection on the play page.

I have created the drop down, and made it so they can select a number. I don't know how to take that number and get the words from the json file that relate to their selection, and display one of the words that's relevant.

Here's a link that describes what I'm trying to accomplish: https://www.webucator.com/project/play2learn-single-page-application/

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!