# Help with codes

**URL:** <https://cl.desmos.com/t/help-with-codes/2615>\
**Category:** Questions\
**Tags:** validation, correctness\
**Created:** [February 8, 2021, 9:52pm UTC](https://cl.desmos.com/t/help-with-codes/2615 "2021-02-08T21:52:29Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![sreusze](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/sreusze/32/2112_2.png) [@sreusze](https://cl.desmos.com/u/sreusze)\
**Post date:** [February 8, 2021, 9:52pm UTC](https://cl.desmos.com/t/help-with-codes/2615/1 "2021-02-08T21:52:30Z")

</div>

[https://student.desmos.com/join/7uyggs](https://student.desmos.com/join/7uyggs)

I can not seem to figure out how to correctly input the codes. Every time I do a practice session myself, I only see x for each problem even when I entered the correct answer. I only get a check mark on slide 1

---

<div class="post-metadata">

**Author:** ![Mirko\_Danilovic](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/mirko_danilovic/32/1781_2.png) [@Mirko\_Danilovic](https://cl.desmos.com/u/Mirko_Danilovic)\
**Post date:** [February 8, 2021, 10:31pm UTC](https://cl.desmos.com/t/help-with-codes/2615/2 "2021-02-08T22:31:12Z")

</div>

You shared student view and it is impossible to see the code.

---

<div class="post-metadata">

**Author:** ![sreusze](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/sreusze/32/2112_2.png) [@sreusze](https://cl.desmos.com/u/sreusze)\
**Post date:** [February 8, 2021, 11:13pm UTC](https://cl.desmos.com/t/help-with-codes/2615/3 "2021-02-08T23:13:39Z")

</div>

Darn it, sorry about that. How about this link?  
[https://teacher.desmos.com/activitybuilder/custom/600ee6b87903300d589c287c](https://teacher.desmos.com/activitybuilder/custom/600ee6b87903300d589c287c)

---

<div class="post-metadata">

**Author:** ![Mirko\_Danilovic](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/mirko_danilovic/32/1781_2.png) [@Mirko\_Danilovic](https://cl.desmos.com/u/Mirko_Danilovic)\
**Post date:** [February 8, 2021, 11:28pm UTC](https://cl.desmos.com/t/help-with-codes/2615/4 "2021-02-08T23:28:06Z")

</div>

Instead typing:  
`correct: input.numericValue =8`  
type  
`correct:this.numericValue=8`  
This will solve check problem. I do not know why this CL didn’t return error on `input.numericValue=8`  
it is probably that you have some variable named input in your activity.  
Hope this help.

---

<div class="post-metadata">

**Author:** ![SandiG](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/sandig/32/1895_2.png) [@SandiG](https://cl.desmos.com/u/SandiG)\
**Post date:** [February 9, 2021, 5:51am UTC](https://cl.desmos.com/t/help-with-codes/2615/5 "2021-02-09T05:51:07Z")

</div>

Yup, this is the solution. I discovered `this` recently and it has made copying screens SO much easier. had to go in and replace all the input names everywhere. Ugh.

---

<div class="post-metadata">

**Author:** ![Daniel\_Grubbs](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_grubbs/32/719_2.png) [@Daniel\_Grubbs](https://cl.desmos.com/u/Daniel_Grubbs)\
**Post date:** [February 9, 2021, 5:54am UTC](https://cl.desmos.com/t/help-with-codes/2615/6 "2021-02-09T05:54:21Z")

</div>

You can also set a variable in a component to a component name, so that you only need to change it once in that CL. For example, copying another table:

```auto
t=table24
cellContent(1,2): t.cellContent(1,2)
cellContent(2,2): t.cellContent(2,2)
etc..

```

---

<div class="post-metadata">

**Author:** ![SandiG](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/sandig/32/1895_2.png) [@SandiG](https://cl.desmos.com/u/SandiG)\
**Post date:** [February 9, 2021, 7:27am UTC](https://cl.desmos.com/t/help-with-codes/2615/8 "2021-02-09T07:27:15Z")

</div>

Yup. Started doing that for modularity a few days ago, thanks!

---

<div class="post-metadata">

**Author:** ![sreusze](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/sreusze/32/2112_2.png) [@sreusze](https://cl.desmos.com/u/sreusze)\
**Post date:** [February 9, 2021, 9:41pm UTC](https://cl.desmos.com/t/help-with-codes/2615/9 "2021-02-09T21:41:55Z")

</div>

> [@Mirko\_Danilovic](#):
>
> `correct:this.numericValue=8`

Thank you so much! That fixed it
