Hello everyone I have created a euros score predictor and am confused as to how I display the points you can get from guessing the score correctly or by 1 goal either way. I have created a variable made to save the score for how many points you have gotten but when I test it the label text comes up as NaN instead of the score. The app is not complete yet so there is still some problems. Any help would be appreciated, Thanks.
When you have a project with multiple screens, you need to explain which screen(s) the problem is occurring on and which components (e.g. label name) the issue is related to. You may know your project really well but we’re just looking at it for the first time.
A screenshot of the NaN result and the related blocks would also be helpful.
for starters, i made these 2 changes - and they got rid of the NaN results. (it means those 2 variables were not initialized to a valid value).
i didn’t get a chance to study the computation blocks inside Results - you should go over it to see if you’ve got all names right or the compare conditions (ie. equal or not_equal, etc) are right - the variable names are too similar.