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

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