not sure what is wrong with this code:
In your numericValues, you need a $ before the { } to be able to access that variable.
Example:
cellContent(1,3):
when ...
... numericValue("8*${pointAx}+4*${pointAy}... etc.
I am still getting an error
Instead of the isUndefined
try Check0.pressCount=0
. I think the lastValue
might be the issue.
Also, you can publish and then share your activity, so people can just jump in and test things. It’s a little easier to work with than screenshots.
Found it. <80 shouldn’t be inside the parentheses for numericValue, and you’ve got a few characters in front of the first line in your button.
I made those corrections but it still is not working
When you’re testing, are you using exact solutions? In which case, it should be <=80.
I am just looking for solutions less than 80
Still looks like you didn’t fix the <80 inside the numericValue. It should be this:
...when numericValue("8*${pointAx}+4*${pointAy}") <80 ...