Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

348
Visualizações
Insert text when image is clicked; when user choose their meat selection I need the text to appear, but change if the option changes

I am making a small pizza game. Just something small for my portfolio. I am having trouble for when the user chooses their meats. I want them to choose up to 3 different meats, when they choose their meat, I want the name of the meat to show up in the "final choices" box, so that they can see what they chose.

I have included pictures of the HTML for the main box the user chooses from, the HTML for the final box that shows what the user chose, and the JAVASCRIPT that I have, there isn't much to the Javascript, cause I am not sure how to start. I know there is an .innerHTML but I am not sure how to use it with an Image.

Main Box for when user choices their meat

Final Box so the user can see what they chose

Javascript for the Final Box

Thank y'all in advance!!

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda