{"type":"video","version":"1.0","html":"<iframe src=\"https://www.loom.com/embed/d975fa1f2ac84416800bb545abb1a96a\" frameborder=\"0\" width=\"1920\" height=\"1440\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>","height":1440,"width":1920,"provider_name":"Loom","provider_url":"https://www.loom.com","thumbnail_height":1440,"thumbnail_width":1920,"thumbnail_url":"https://cdn.loom.com/sessions/thumbnails/d975fa1f2ac84416800bb545abb1a96a-7e35cfa970c99f98.gif","duration":419.576,"title":"Debugging and Restoring Ledger Balance System","description":"This Loom demonstrates the mission 3 debug and restore ledger balance system and adds a new feature to display expenses as a pie chart. The author explains rewriting the HTML and script.js files, using clearer code and ES module imports such as importing user.js with export default. In script.js, they build a function to collect input values with a for loop, assemble the dataset for the pie chart, and destroy the old chart before creating the updated one. They also address handling non-numeric text input gracefully by relying on the input type number, noting that text cannot be entered and may be hidden after type conversion."}