Here is the link to my project: https://studio.code.org/projects/applab/Gs5uKn-c2G0myfzBcsQ2hUg7DaTD3zEliGFhD3oh4yY
My app is designed to get a person’s first name and last name and how much money they want to put into their account. The creation of the data table works fine.
My issue is when I want the data table to update. So, when the user puts in their pin number (example 13), the amount listed for that id is set to an updated amount (amount they have in the table minus the amount lunch costs). For example, if the person with id number 13 has $100 in their account, their new amount is $90 (assuming lunch costs $10).
I’m able to have that new amount show up in the label there but when I try to update the table, the first and last names of my users gets updated with undefined. I only want the amount to be updated in the table and need everything else to stay intact.
Can anyone help?
I hope this question/problem makes sense.