Code. org Professional Learning Community Welcome to Code org Professional Learning Community Code org Professional Learning Community, operated by Civilized Discourse Construction Kit, Inc
List Error: is not a uistring - Coding and Debugging Help - Code. org . . . I also have looked through code org Lesson U5 L3 and all of the example problems print out to the console… I am not seeing one that shows a list in a label? I am guessing I need to loop and add each element to the label output… one at at time? Thanks for your time and help jdonwells February 13, 2021, 2:35pm 4
Unit 7, Lesson 4: Parameters Return Make (Rock, Paper, Scissors) Link to the project or level: Code org - App Lab What I expect to happen: I expect the code to do a Rock, Paper, Scissors game, and display the winner What actually happens: Sometimes it works great, sometimes the the computer’s choice is undefined Which means I get the error: “setProperty() value parameter value (undefined) is not a string ” on line 39 and or 40 What I’ve tried: I
Is there a way to pause the code (wait command?) JavaScript is a single-threaded language, meaning it can only do one thing at a time This makes “waiting” difficult, because you usually don’t actually want the whole program (or browser eve) to wait and do nothing The best way to accomplish this kind of timed change is to do one of three things: Use a counter variable to keep track of how long to wait between changes Use World seconds
Adding a Delay? - Code. org Professional Learning Community I have a program that plays notes and flashes the LEDs But even though there is a duration to the notes, they all play (and the lights flash) instantaneously I can’t seem to find any sort of delay or wait Any help would be appreciated
Making an Image move in the app clicker game - Code. org Professional . . . I have assigned the Clicker Game to my High School students The code has been working great and we are liking the App Lab A student has used a for loop to control movement of an image with the mouse click, but we haven’t figured out how to have an image move once we change screens I thought that putting in a for loop with a setPosition block that has y=y+1 for changing the y position