# Keeping the score on Color Sleuth App

**URL:** <https://forum.code.org/t/keeping-the-score-on-color-sleuth-app/15753>\
**Category:** Unit and Lesson Discussion\
**Tags:** csp-unit-5, csp-unit-5-lesson-10\
**Created:** [April 23, 2018, 10:31pm UTC](https://forum.code.org/t/keeping-the-score-on-color-sleuth-app/15753 "2018-04-23T22:31:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![valerieadams](https://avatars.discourse-cdn.com/v4/letter/v/ba9def/32.png) [@valerieadams](https://forum.code.org/u/valerieadams)\
**Post date:** [April 23, 2018, 10:31pm UTC](https://forum.code.org/t/keeping-the-score-on-color-sleuth-app/15753/1 "2018-04-23T22:31:47Z")

</div>

> **[Code.org](https://studio.code.org/users/sign_in)**
>
> Anyone can learn computer science. Make games, apps and art with code.

I have been struggling to figure out why the score isn’t working for my student’s code. Any ideas?  
Thanks in advance for your help.

---

<div class="post-metadata">

**Author:** ![kaitie\_o\_bryan](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/kaitie_o_bryan/32/2278_2.png) [@kaitie\_o\_bryan](https://forum.code.org/u/kaitie_o_bryan)\
**Post date:** [April 24, 2018, 2:35am UTC](https://forum.code.org/t/keeping-the-score-on-color-sleuth-app/15753/2 "2018-04-24T02:35:30Z")

</div>

Hi @valerieadams,

I can help you with your code, but I think you sent us the generic link - not the “shareable” one. Can you go to the top left hand corner of the screen and click the “share” button. If you copy that link and paste it here, we can see what code your student has.

Happy coding!  
KT

---

<div class="post-metadata">

**Author:** ![valerieadams](https://avatars.discourse-cdn.com/v4/letter/v/ba9def/32.png) [@valerieadams](https://forum.code.org/u/valerieadams)\
**Post date:** [April 25, 2018, 3:27pm UTC](https://forum.code.org/t/keeping-the-score-on-color-sleuth-app/15753/3 "2018-04-25T15:27:47Z")

</div>

> **[Check out what I made](https://studio.code.org/projects/applab/cSXibftKB5a53j6jE__Q37xVntxhCUWYkIuuiIoaAMw)**
>
> I wrote the code myself with Code.org

Oops, Yes, the other link didn’t work. Sorry. Yes, that would be great if you have ideas on the code. I would really appreciate it.

---

<div class="post-metadata">

**Author:** ![frank\_w\_lee](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/frank_w_lee/32/4895_2.png) [@frank\_w\_lee](https://forum.code.org/u/frank_w_lee)\
**Post date:** [April 26, 2018, 12:40am UTC](https://forum.code.org/t/keeping-the-score-on-color-sleuth-app/15753/4 "2018-04-26T00:40:30Z")

</div>

Hi @valerieadams,

This is likely a problem - Line 74:  
 ![](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex016/uploads/codeorgforum/original/2X/9/958280669b429a041acccc1daa5f8c9d2d45ef66.png)

Try it with " + amt " like line 72 has.

Hope that helps!

Frank

---

<div class="post-metadata">

**Author:** ![valerieadams](https://avatars.discourse-cdn.com/v4/letter/v/ba9def/32.png) [@valerieadams](https://forum.code.org/u/valerieadams)\
**Post date:** [April 26, 2018, 2:12am UTC](https://forum.code.org/t/keeping-the-score-on-color-sleuth-app/15753/5 "2018-04-26T02:12:42Z")

</div>

@frank_w_lee  
Yes, you are right. I didn’t see that. I will try it tomorrow and hopefully that fixes the problem. Thank you!
