# Coding Avatars - No Card on PC only, Avatar not Updating for Gender and Skill

**URL:** <https://community.thunkable.com/t/coding-avatars-no-card-on-pc-only-avatar-not-updating-for-gender-and-skill/1335156>\
**Category:** Questions about Thunkable X\
**Created:** [June 9, 2021, 1:03pm UTC](https://community.thunkable.com/t/coding-avatars-no-card-on-pc-only-avatar-not-updating-for-gender-and-skill/1335156 "2021-06-09T13:03:35Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![suqar-skiies\_scratch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/suqar-skiies_scratch/32/106519_2.png) [@suqar-skiies\_scratch](https://community.thunkable.com/u/suqar-skiies_scratch)\
**Post date:** [June 9, 2021, 1:03pm UTC](https://community.thunkable.com/t/coding-avatars-no-card-on-pc-only-avatar-not-updating-for-gender-and-skill/1335156/1 "2021-06-09T13:03:35Z")

</div>

Hai!  
I made an app to make your own avatar for coding, but the image at the last isn’t updating:

## PC Screenshots

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/0/f06002bdde164b80a67f1645e295604524dfe7b7.png) ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/5/95a51210a153ffd4b18cb46e0df7b9d4b755ba5a.png) ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/0/e0a32fb1ec8178d24e1bb5d7677ac201d249aaa5.png)

###### No card appearing

## Mobile Screenshots

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/b/6b92c00acf777eb1d633345a1c77d723c01f1557.jpeg) ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/9/59570a1334ff4d1c0405e19a8ad43fa5534bbee5.jpeg) ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/b/9becbaa3069cc79bc9f19cfaab29c7ce435cc5d0.jpeg) ![Screenshot_20210609-182617](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/6/567c4a12cb9469ae88b807f6560d542484bd09cb.png)

 ![Screenshot_20210609-182628](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/5/c5c9e4954fd09707f555d21322f1e66eda87504d.png)

Images and avatars created are in a Google Sheet:

### Images

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

### Avatars Created

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/e/9eabcf6ac0f25b4dc68a64493322a72683391b1e.png)

Code for the last screen:

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

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

---

<div class="post-metadata">

**Author:** ![suqar-skiies\_scratch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/suqar-skiies_scratch/32/106519_2.png) [@suqar-skiies\_scratch](https://community.thunkable.com/u/suqar-skiies_scratch)\
**Post date:** [June 9, 2021, 1:42pm UTC](https://community.thunkable.com/t/coding-avatars-no-card-on-pc-only-avatar-not-updating-for-gender-and-skill/1335156/2 "2021-06-09T13:42:59Z")

</div>

### Statistics

I’ve made the button to display messages to find out the status of the app. I’ve found out the for loop either doesn’t end or is very long. (and I also made it to show the card)

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/c/ecef4e588a0ee21d9c07313b961094ffa0e621ba.png)

---

<div class="post-metadata">

**Author:** ![suqar-skiies\_scratch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/suqar-skiies_scratch/32/106519_2.png) [@suqar-skiies\_scratch](https://community.thunkable.com/u/suqar-skiies_scratch)\
**Post date:** [June 9, 2021, 2:12pm UTC](https://community.thunkable.com/t/coding-avatars-no-card-on-pc-only-avatar-not-updating-for-gender-and-skill/1335156/3 "2021-06-09T14:12:28Z")

</div>

### Updates

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/b/2bbe775264ee045013c8d872be23adfe1faf17a4.png)

I don’t understand, It should work by now.

---

<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:** [June 9, 2021, 2:48pm UTC](https://community.thunkable.com/t/coding-avatars-no-card-on-pc-only-avatar-not-updating-for-gender-and-skill/1335156/4 "2021-06-09T14:48:36Z")

</div>

This will never work. The condition is wrong.

---

<div class="post-metadata">

**Author:** ![suqar-skiies\_scratch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/suqar-skiies_scratch/32/106519_2.png) [@suqar-skiies\_scratch](https://community.thunkable.com/u/suqar-skiies_scratch)\
**Post date:** [June 10, 2021, 4:57am UTC](https://community.thunkable.com/t/coding-avatars-no-card-on-pc-only-avatar-not-updating-for-gender-and-skill/1335156/5 "2021-06-10T04:57:36Z")

</div>

Thanks for the reply!

If you mean the for loop, I changed it to “or” and this happened:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/a/ba2308c72c9373acd44550a8ff5413cd8d1d18b6.png)

It didn’t show the image…

Thanks,  
Evelyn Archer 🎆

---

<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:** [June 10, 2021, 5:21am UTC](https://community.thunkable.com/t/coding-avatars-no-card-on-pc-only-avatar-not-updating-for-gender-and-skill/1335156/6 "2021-06-10T05:21:10Z")

</div>

In the first screenshot of blocks, you’re comparing gender to gender and skill to skill but in the second screenshot of blocks, you’re comparing gender to gender and skill to gender. I assume that’s a mistake and should be skill to skill.

How are you setting the value of `app variable gender`?

What I would do is to put a `set label's text` block inside the “do” section of the IF block and set its value to `get value from ... Gender` as you’ve done for the Picture property. Just to see what value you’re getting from your data source.

---

<div class="post-metadata">

**Author:** ![suqar-skiies\_scratch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/suqar-skiies_scratch/32/106519_2.png) [@suqar-skiies\_scratch](https://community.thunkable.com/u/suqar-skiies_scratch)\
**Post date:** [June 10, 2021, 5:34am UTC](https://community.thunkable.com/t/coding-avatars-no-card-on-pc-only-avatar-not-updating-for-gender-and-skill/1335156/7 "2021-06-10T05:34:31Z")

</div>

> [@tatiang](#):
>
> In the first screenshot of blocks, you’re comparing gender to gender and skill to skill

If you mean the for loop’s if condition:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/7/d78dc19d501da3f4b96dfb2317beee3b2fe317f0.png)  
I did a little update and still don’t get the expected output.

> [@tatiang](#):
>
> but in the second screenshot of blocks, you’re comparing gender to gender and skill to gender. I assume that’s a mistake and should be skill to skill.

I still don’t get what screenshot you’re talking about…

> [@tatiang](#):
>
> How are you setting the value of `app variable gender`?

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/8/c89d3c62ba6a8ff0a760d2eeb77ee43cdf477d45.png)

> [@tatiang](#):
>
> What I would do is to put a `set label's text` block inside the “do” section of the IF block and set its value to `get value from ... Gender` as you’ve done for the Picture property.

Way ahead of you (I guess):

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/7/b7479d183f78e42dbe68d7b377bb8c027188a82d.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:** [June 10, 2021, 5:44am UTC](https://community.thunkable.com/t/coding-avatars-no-card-on-pc-only-avatar-not-updating-for-gender-and-skill/1335156/8 "2021-06-10T05:44:47Z")

</div>

When I said the second screenshot, I meant this one:

 ![d78dc19d501da3f4b96dfb2317beee3b2fe317f0](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/d/9d7a6d94683768c68939b7673e397c76c63e0807.png)

Earlier, you had compared the `app variable skill` to the `Skill` column of your database. But in this screenshot, you’re now comparing it to the `Gender` column. I wasn’t sure if that was an intentional change.

Also, what does the current preview look like with all of those label values now set?

---

<div class="post-metadata">

**Author:** ![suqar-skiies\_scratch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/suqar-skiies_scratch/32/106519_2.png) [@suqar-skiies\_scratch](https://community.thunkable.com/u/suqar-skiies_scratch)\
**Post date:** [June 10, 2021, 5:53am UTC](https://community.thunkable.com/t/coding-avatars-no-card-on-pc-only-avatar-not-updating-for-gender-and-skill/1335156/9 "2021-06-10T05:53:44Z")

</div>

## Thank you!

I checked it on my phone, and it works perfectly!  
Now I checked it on my PC too, and same result!

# ❤

---

<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:20pm UTC](https://community.thunkable.com/t/coding-avatars-no-card-on-pc-only-avatar-not-updating-for-gender-and-skill/1335156/10 "2024-11-08T13:20:23Z")

</div>


