U5 Hackathon - still getting uistring errors

setProperty() value parameter value () is not a uistring.
setText() text parameter value () is not a uistring.
Student code

If the above link doesn’t work, please look at the REMIX link

The problem is that outputString is a list and not a String. You need to create a string and concatenate all the items from the list into the string and then set the text to that string.

How does one do that?

If you send over a link to the code, we can take a look at it and give you suggestions!

Thank you!

There were a couple of issues, the biggest was how you were testing in your conditional. Remember, you need to test a specific index in the list, not the list itself. list[i] == something I moved some of the other structure around to make it a little more efficient. You were getting a unistring error because you were not passing anything along. Let me know if you have any questions.

1 Like

Thank you so much for your help and the explanation!

1 Like