# Trouble Shooting Code

**URL:** https://forum.makecode.com/t/trouble-shooting-code/34666
**Category:** Help
**Created:** [March 17, 2025, 3:45am UTC](https://forum.makecode.com/t/trouble-shooting-code/34666 "2025-03-17T03:45:41Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Mlabrenz](https://avatars.discourse-cdn.com/v4/letter/m/82dd89/32.png) [@Mlabrenz](https://forum.makecode.com/u/Mlabrenz)
#### Post date: [March 17, 2025, 3:45am UTC](https://forum.makecode.com/t/trouble-shooting-code/34666/1 "2025-03-17T03:45:41Z")

</div>

I’m making a math game where if you press 1 at the beginning, it will give you addition/subtraction problems, and if you press 2, it will give you multiplication/division. I think the rest of the code works but I don’t know why it won’t trigger the multiplication/division if you press 2.

> **[cpt?](https://arcade.makecode.com/S13597-67412-32034-65687)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Thanks in advance!

---

<div class="post-metadata">

### Author: ![Don](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/don/32/17989_2.png) [@Don](https://forum.makecode.com/u/Don)
#### Post date: [March 17, 2025, 6:14pm UTC](https://forum.makecode.com/t/trouble-shooting-code/34666/2 "2025-03-17T18:14:41Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/4/3/43c51befeb0d0423fc5e93f0b529c484c2f0a0e7.png)  
You only ask + and - questions. Copy/paste gone wrong.

---

<div class="post-metadata">

### Author: ![redSprite](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/redsprite/32/34262_2.png) [@redSprite](https://forum.makecode.com/u/redSprite)
#### Post date: [March 17, 2025, 6:14pm UTC](https://forum.makecode.com/t/trouble-shooting-code/34666/3 "2025-03-17T18:14:44Z")

</div>

You might want to check the join blocks in the question generation function.  
They both have “-” as the 2nd string to join together, might want to change them to either “\*” or “/”

Hope I identified your problemo.
