ScratchData LogoScratchData
Back to jenfromri's profile

To-Do | Getting Unstuck Day 9

JEjenfromri•Created July 16, 2020
To-Do | Getting Unstuck Day 9
4
1
17 views
View on Scratch

Instructions

Click the green flag to start. You can add up to 6 items to your to-do list. Check the box to complete the item. Click the red X to remove an item.

Description

My other non-working project of the day - may as well add them both! A to-do list is not a particularly original use of lists, I guess, but it was still fun trying to figure out how to implement it. One tricky part was figuring out how to get the checkbox clones to move up when a specific item was removed from the list. Shout out (and a big thank you) to @mstone326 's Day 4 project, which helped me figure out how to associate each clone with an ID so they check whether or not their ID is higher than the item # being removed and act accordingly. Unfortunately that only works once; if you try to remove a second item from the list it doesn't work. I think I know why - once the list items move their position is not associated with the right ID anymore - but I'm not sure how to fix it.

Project Details

Project ID412022938
CreatedJuly 16, 2020
Last ModifiedJuly 17, 2020
SharedJuly 17, 2020
Visibilityvisible
CommentsAllowed