# My code is not working

**URL:** https://community.thunkable.com/t/my-code-is-not-working/1779597
**Category:** Questions about Thunkable X
**Created:** [March 11, 2022, 10:12pm UTC](https://community.thunkable.com/t/my-code-is-not-working/1779597 "2022-03-11T22:12:00Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![qortmd3592st](https://avatars.discourse-cdn.com/v4/letter/q/d07c76/32.png) [@qortmd3592st](https://community.thunkable.com/u/qortmd3592st)
#### Post date: [March 11, 2022, 10:12pm UTC](https://community.thunkable.com/t/my-code-is-not-working/1779597/1 "2022-03-11T22:12:00Z")

</div>

I did the last test to release the app. But I get an error.  
I want to hide the data viewer list when the screen is opened and show the data viewer list again after the code works. Button 46 and label 32 all work normally, but only the data viewer list is not continuously displayed. It used to work fine, but it suddenly stopped working since yesterday. What’s wrong?

 ![캡처](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/7/e703989a45abe7dfc3eb3afeb8328a52172a64c0.png)

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [March 11, 2022, 10:31pm UTC](https://community.thunkable.com/t/my-code-is-not-working/1779597/2 "2022-03-11T22:31:34Z")

</div>

Why do you have on top `AdMob_Banner3` but you do not have `Button46` but in the end of the code you do not have `AdMob_Banner3` but you have `Button46`?

The code is confusing.

---

<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 11, 2022, 10:53pm UTC](https://community.thunkable.com/t/my-code-is-not-working/1779597/3 "2022-03-11T22:53:27Z")

</div>

> [@qortmd3592st](#):
>
> but only the data viewer list is not continuously displayed

I’m not sure what you mean. The blocks you have above should hide the Data Viewer List (DVL) and then show it after the other blocks run. What happens when you preview this? Does it hide and then show or something else?

What happens if you change a label’s text (e.g. to “START”) right before the first block and change it to something else right before the last block (e.g. to “END”)? Do you see START… and then END? Knowing that will help me help you. Because it’s possible something in your other blocks or your custom function are preventing the rest of the blocks from running.

---

<div class="post-metadata">

### Author: ![qortmd3592st](https://avatars.discourse-cdn.com/v4/letter/q/d07c76/32.png) [@qortmd3592st](https://community.thunkable.com/u/qortmd3592st)
#### Post date: [March 12, 2022, 9:50am UTC](https://community.thunkable.com/t/my-code-is-not-working/1779597/4 "2022-03-12T09:50:28Z")

</div>

i don’t see end

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [March 12, 2022, 12:10pm UTC](https://community.thunkable.com/t/my-code-is-not-working/1779597/5 "2022-03-12T12:10:28Z")

</div>

Can you show an image with your block and the labels in it?

If you cannot see **END** then it means there is an error preventing the code from continuing. This error could be in **your function**.

---

<div class="post-metadata">

### Author: ![qortmd3592st](https://avatars.discourse-cdn.com/v4/letter/q/d07c76/32.png) [@qortmd3592st](https://community.thunkable.com/u/qortmd3592st)
#### Post date: [March 12, 2022, 12:22pm UTC](https://community.thunkable.com/t/my-code-is-not-working/1779597/6 "2022-03-12T12:22:08Z")

</div>

Everything else works, but only this data viewer 3 is not shown. The label disappears.

 ![캡처11](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/9/190cb188e501ccd571db8dc501b17f041f75ae51.png)

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [March 12, 2022, 12:30pm UTC](https://community.thunkable.com/t/my-code-is-not-working/1779597/7 "2022-03-12T12:30:31Z")

</div>

What @tatiang meant is to add a `Label` to your screen and in the start of your block write in the label **Start** and in the end of your block write in the label **End**.

When you open your screen see if the label has **Start** then there is an error in your code. If the label has **End** then your code is running OK.

See this image for clarification

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/1/11a353ac96d0e97249c6fc70ec7ae3f349a6ffdf.png)

---

<div class="post-metadata">

### Author: ![qortmd3592st](https://avatars.discourse-cdn.com/v4/letter/q/d07c76/32.png) [@qortmd3592st](https://community.thunkable.com/u/qortmd3592st)
#### Post date: [March 12, 2022, 12:44pm UTC](https://community.thunkable.com/t/my-code-is-not-working/1779597/8 "2022-03-12T12:44:43Z")

</div>

ok It suddenly works normally. This time it doesn’t work. At 10 or 9, it suddenly stops working. It works until I draw, and after that it doesn’t work. Why?

 ![캡처](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/7/f758e25a7eb23d1c70037a4fa22cdd31b1cdfe2b.png)

---

<div class="post-metadata">

### Author: ![qortmd3592st](https://avatars.discourse-cdn.com/v4/letter/q/d07c76/32.png) [@qortmd3592st](https://community.thunkable.com/u/qortmd3592st)
#### Post date: [March 12, 2022, 12:55pm UTC](https://community.thunkable.com/t/my-code-is-not-working/1779597/9 "2022-03-12T12:55:42Z")

</div>

When I test it with a computer, it works fine, but when I test it with a cell phone, it doesn’t work.

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [March 12, 2022, 1:05pm UTC](https://community.thunkable.com/t/my-code-is-not-working/1779597/10 "2022-03-12T13:05:18Z")

</div>

Are you using a `stored variable` in your app?

Are you using `Loading Icon`?

---

<div class="post-metadata">

### Author: ![qortmd3592st](https://avatars.discourse-cdn.com/v4/letter/q/d07c76/32.png) [@qortmd3592st](https://community.thunkable.com/u/qortmd3592st)
#### Post date: [March 12, 2022, 1:07pm UTC](https://community.thunkable.com/t/my-code-is-not-working/1779597/11 "2022-03-12T13:07:41Z")

</div>

nono That’s a different screen. The loading icon is not displayed. It’s an app variable, not a cloud.

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [March 12, 2022, 1:09pm UTC](https://community.thunkable.com/t/my-code-is-not-working/1779597/12 "2022-03-12T13:09:48Z")

</div>

Remove the `Web Viewer` URL block and test it without this block.

---

<div class="post-metadata">

### Author: ![qortmd3592st](https://avatars.discourse-cdn.com/v4/letter/q/d07c76/32.png) [@qortmd3592st](https://community.thunkable.com/u/qortmd3592st)
#### Post date: [March 12, 2022, 1:32pm UTC](https://community.thunkable.com/t/my-code-is-not-working/1779597/13 "2022-03-12T13:32:08Z")

</div>

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/6/d6df7e69f716101ea74d5c3e93ee668486c8bda4.png)  
If you watch the news until n10, the news doesn’t appear after that. Why? I’m the one who got your help a few days ago.

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

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [March 12, 2022, 4:51pm UTC](https://community.thunkable.com/t/my-code-is-not-working/1779597/14 "2022-03-12T16:51:58Z")

</div>

> [@qortmd3592st](#):
>
> the news doesn’t appear after that.

I did not understand what you want. If you have 10 news rows and you watched each and every one of them then you expect to have no news.

Or are you asking about something else?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)
#### Post date: [June 10, 2022, 4:52pm UTC](https://community.thunkable.com/t/my-code-is-not-working/1779597/15 "2022-06-10T16:52:00Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
