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

143
Vistas
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 Respuestas
Responde la pregunta

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