I lost all my code

**all my code for this lesson is gone I worked hard on that. Just to find it gone today. so what happen?

Oh yeah, the colors on the new set up are really bad.

Your code so far

function checkCashRegister(price, cash, cid) {
var change;
// Here is your change, ma'am.
return change;

// Example cash-in-drawer array:
// [["PENNY", 1.01],
// ["NICKEL", 2.05],
// ["DIME", 3.1],
// ["QUARTER", 4.25],
// ["ONE", 90],
// ["FIVE", 55],
// ["TEN", 20],
// ["TWENTY", 60],
// ["ONE HUNDRED", 100]]

checkCashRegister(19.5, 20, [["PENNY", 1.01], ["NICKEL", 2.05], ["DIME", 3.1], ["QUARTER", 4.25], ["ONE", 90], ["FIVE", 55], ["TEN", 20], ["TWENTY", 60], ["ONE HUNDRED", 100]]);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0.

Challenge: Cash Register

Link to the challenge:

Did you complete the challenge? If so, then the certification solutions are kept and can be viewed on your profile.

No, I didn’t finish which is why I come back to it today. Now I have to start over and its 100 lines of code.

When the site was recently updated, any uncompleted solutions were probably lost due to not being cached.

and can please help. I want to use console.log(). but I can’t get it to work.
I need to check my code as I go so I don’t have to go thought a large amount of code to find I left off a ] or something.

You can view the result of a console.log statement by using your browser’s console within the browser’s development tools. This was discussed in the Debugging section of the curriculum.

For Chrome, you would click Ctrl+Shft+J.