# Functioning Math App

**URL:** https://community.thunkable.com/t/functioning-math-app/1141749
**Category:** Questions about Thunkable X
**Created:** [March 4, 2021, 6:55am UTC](https://community.thunkable.com/t/functioning-math-app/1141749 "2021-03-04T06:55:28Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![krrish](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/krrish/32/97273_2.png) [@krrish](https://community.thunkable.com/u/krrish)
#### Post date: [March 4, 2021, 6:55am UTC](https://community.thunkable.com/t/functioning-math-app/1141749/1 "2021-03-04T06:55:28Z")

</div>

Hey guys! I’m trying to make a math quiz app where it randomly generates math problems and the person has to solve them. I know there’s a bug somewhere but I’m fairly new so I need some help! Here’s the link: [Thunkable](https://x.thunkable.com/copy/fbee990693a7a2b3cff0c506dde41ccd)

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [March 4, 2021, 7:15am UTC](https://community.thunkable.com/t/functioning-math-app/1141749/2 "2021-03-04T07:15:39Z")

</div>

This is all I’m seeing:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/d/7d93f603a370de2aab634e7230fd5e9fb63a5098.png)

Are you able to get it to display any numbers?

---

<div class="post-metadata">

### Author: ![krrish](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/krrish/32/97273_2.png) [@krrish](https://community.thunkable.com/u/krrish)
#### Post date: [March 4, 2021, 7:16am UTC](https://community.thunkable.com/t/functioning-math-app/1141749/3 "2021-03-04T07:16:29Z")

</div>

You have to web preview it… It doesn’t load on live view.

---

<div class="post-metadata">

### Author: ![krrish](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/krrish/32/97273_2.png) [@krrish](https://community.thunkable.com/u/krrish)
#### Post date: [March 4, 2021, 7:17am UTC](https://community.thunkable.com/t/functioning-math-app/1141749/4 "2021-03-04T07:17:02Z")

</div>

![Screen Shot 2021-03-04 at 6.16.39 pm](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/6/36c1898e4017d4cbc2d628cfe90c6d05d9700033.png)

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [March 4, 2021, 7:17am UTC](https://community.thunkable.com/t/functioning-math-app/1141749/5 "2021-03-04T07:17:45Z")

</div>

Why? Is that intentional? An app like this should just work without publishing as a web app.

Can you post a link to the published web app?

---

<div class="post-metadata">

### Author: ![krrish](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/krrish/32/97273_2.png) [@krrish](https://community.thunkable.com/u/krrish)
#### Post date: [March 4, 2021, 7:19am UTC](https://community.thunkable.com/t/functioning-math-app/1141749/6 "2021-03-04T07:19:45Z")

</div>

I have no clue… I think the formatting is a bit messed up or something… Works fine on phone though. [thunkablecompanion](https://x.thunkable.com/web-build/index.html?projectId=604073287c2d840012460341&noframe=1&responsive=1&screenId=f56e304e-e55a-4d52-a5d9-f2b63206a45e)

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [March 4, 2021, 7:20am UTC](https://community.thunkable.com/t/functioning-math-app/1141749/7 "2021-03-04T07:20:29Z")

</div>

Hmm, you’re right. I find that odd… not sure why the formatting isn’t working for you. It certainly makes it really hard to test.

---

<div class="post-metadata">

### Author: ![krrish](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/krrish/32/97273_2.png) [@krrish](https://community.thunkable.com/u/krrish)
#### Post date: [March 4, 2021, 7:21am UTC](https://community.thunkable.com/t/functioning-math-app/1141749/8 "2021-03-04T07:21:05Z")

</div>

Exactly… the game part works fine on live test but I have no idea what the issue is with that part.

---

<div class="post-metadata">

### Author: ![krrish](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/krrish/32/97273_2.png) [@krrish](https://community.thunkable.com/u/krrish)
#### Post date: [March 4, 2021, 7:26am UTC](https://community.thunkable.com/t/functioning-math-app/1141749/9 "2021-03-04T07:26:32Z")

</div>

Any idea what’s wrong?

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [March 4, 2021, 7:27am UTC](https://community.thunkable.com/t/functioning-math-app/1141749/10 "2021-03-04T07:27:31Z")

</div>

No. The text input component is aligning strangely but I don’t see a cause for that. I’d be tempted to rebuild the first screen with new components. There must be a row that has some sizing/spacing that’s off but I couldn’t find it.

---

<div class="post-metadata">

### Author: ![krrish](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/krrish/32/97273_2.png) [@krrish](https://community.thunkable.com/u/krrish)
#### Post date: [March 4, 2021, 7:28am UTC](https://community.thunkable.com/t/functioning-math-app/1141749/11 "2021-03-04T07:28:58Z")

</div>

I don’t really mind that… but I mean the actual math problems themselves.

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [March 4, 2021, 7:30am UTC](https://community.thunkable.com/t/functioning-math-app/1141749/12 "2021-03-04T07:30:43Z")

</div>

Is there a reason you’re building separate screens for each math problem rather than just using a single screen?

I was able to move some of the components around and actually enter an answer. When I did that, it generated a new random problem. But then the input field would no longer work.

---

<div class="post-metadata">

### Author: ![krrish](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/krrish/32/97273_2.png) [@krrish](https://community.thunkable.com/u/krrish)
#### Post date: [March 4, 2021, 7:32am UTC](https://community.thunkable.com/t/functioning-math-app/1141749/13 "2021-03-04T07:32:03Z")

</div>

I tried to do it on one screen but it looked weird and took up too much space. Looks less visually appealing.

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [March 4, 2021, 7:33am UTC](https://community.thunkable.com/t/functioning-math-app/1141749/14 "2021-03-04T07:33:07Z")

</div>

Hmm. I would think you would just call your generateQuestion function again on that same screen. Or at the very least, show a summary screen and then reload the original first screen. It’s going to be pretty inefficient to build a separate screen for each math problem. But it can be done that way if you prefer.

---

<div class="post-metadata">

### Author: ![krrish](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/krrish/32/97273_2.png) [@krrish](https://community.thunkable.com/u/krrish)
#### Post date: [March 4, 2021, 7:34am UTC](https://community.thunkable.com/t/functioning-math-app/1141749/15 "2021-03-04T07:34:15Z")

</div>

I want to have 4 different types of problems though, addition, subtraction, multiplication and division…

---

<div class="post-metadata">

### Author: ![krrish](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/krrish/32/97273_2.png) [@krrish](https://community.thunkable.com/u/krrish)
#### Post date: [March 4, 2021, 7:38am UTC](https://community.thunkable.com/t/functioning-math-app/1141749/16 "2021-03-04T07:38:46Z")

</div>

and I don’t really know how to fit them on 1 screen properly.

---

<div class="post-metadata">

### Author: ![krrish](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/krrish/32/97273_2.png) [@krrish](https://community.thunkable.com/u/krrish)
#### Post date: [March 4, 2021, 7:52am UTC](https://community.thunkable.com/t/functioning-math-app/1141749/17 "2021-03-04T07:52:52Z")

</div>

Hm, what can I do?

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 1:29pm UTC](https://community.thunkable.com/t/functioning-math-app/1141749/18 "2024-11-08T13:29:05Z")

</div>


