This educational material introduces children to the fundamentals of computational thinking by focusing on problem-solving and debugging techniques. Through the lens of a detective, students learn to identify and repair bugs, which are defined as mistakes or unintended errors within a set of instructions. The text specifically applies these concepts to Scratch Jr., highlighting frequent mistakes like incorrect block sequencing and teaching the use of tools for step-by-step testing. Additionally, the source explores event-based programming, illustrating how specific triggers—such as tapping a character or hearing a school bell—cause distinct actions to occur. Engaging activities and milestone assessments reinforce these lessons by asking learners to organize code and predict outcomes in interactive stories.