How do I make code for a drop-down that when picking a certain answer it pulls from data lists and sorts names by topic
I have to code an app where I have drop downs and when someone changes the option in a drop down, it sorts all the different names by who falls into that topic. Like if someone chooses birth month as the category and then chooses December in the drop-down, it sorts all the names who have December birthdays and place all those names into a text box
Code.org gamelab collisions working spontaneously
I know it sounds stupid but it’s true, at least for me. For my FCOS class my final task was to make a game. I made a simple endless type game where a monkey has to avoid basketballs and collect bananas. For some reason, all of the collisions work about 1/3 of the time. I really can’t figure out why that is, neither can my teacher. Here’s the code (collisions in the pleasegodwork functions and game function).