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

134
Views
Choose one of multiple items react.js

I am trying to make a website for my portfolio and I need some help.

What I want is the client to be able to click on one of pictures and select it and then to get redirected to another page with another options.

I think I should save the choice with a state, but I do not have the proper vision how to proceed. Can you help me or give me an idea?

<div className="landing_3">
        <p className="msg_2"> Customize the perfect gift</p>
        <p className="msg_3"> Choose one of the options to start with : </p>
        <div className="landing_3_items">
          <img alt="" src={c3} className="landing_img" />
          <img alt="" src={c4} className="landing_img" />
          <img alt="" src={c5} className="landing_img" />
        </div>
      </div>

Result of the code

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You can use the <Link> component from react-router-dom, like this :

<Link to="mypage">
    <img src="" />
</Link>

You need to make a router for your application too.

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!