When running the reminder app using the Example Solution 1, the update screen function does not display the newly appended reminder in the reminderOutput textarea or the reminder number in the countOutput textarea automatically. You have to click the right button to see the newly appended reminder and element number.
I’ve spent a bit of time trying to think about how to modify the updateScreen function to solve this problem. Does anyone have a quick solution/idea?
Thanks in advance!
I sent you a personal message about it.
Can you also send me any support for this. Advanced students can figure out some advanced coding that will work out these problems but intro students have trouble. What is the best way to go about this. Any help appreciated.
Thanks
Hi @jmuirragui,
Sometimes the best way to get intro students started solving these problems is to work through the first one or two levels together as a class. I like to talk my students through my process: “I see ____ in the code already, and I want the app to do ______. I see the ______ code blocks in my toolbox. How can we use these to solve that?” and walk them through it.
I noticed you replied to a thread from January 2021, and the curriculum has gone through several revisions since then. Were you curious about a specific level in the 2023-24 curriculum, or this type of lesson in general?
–Michael K.
Oh just the part where the index goes out of bounds when removing items on the right side of the list. I have solutions for this but wanted to see how you approached it. If you delete the first item in the list it works fine but right side will go out of bounds unless you use a couple de check .