Welcome to my first post ever in Dev!
If you are also taking FreeCodeCamp's Javascript Algorithms and Data Structures certification, this post may...
For further actions, you may consider blocking this person and/or reporting abuse
Thank u so much <3
THANKS
I still don't understand how to solve it but at least now I have something plain and understandable to read and try to figure it out :)
Don't give up 💪
In the end, what I learned most completing this project is to carefully read the problem and try to break it into smaller tasks that you can start working on separately. Hopefully, you will get it soon!😊
i have a question with this code, what if difference = 6, while we have one 0.25 and six 1left, when the code run for 0.25, (difference.toFixed(2)>=arrCurrency[i][1] && bill>=1)=true, so we will add 0.25to return money, but after that, we cannot make 0.35 out of 6*0.1,
Just amazing, awesome storytelling!
When i redo these steps, the last test fails, 'CLOSED' doesn't resolve.
for the 'CLOSED' case, i figured after doing a console.log(), that the change array was being provided in the wrong order, so I just appended .reverse to the case, and it worked.
A beautiful story
Thank you for your brief explanation
Thank you for sharing your solution in this step-by-step format! Very beneficial!
GitHub link not working :(
Here's the code, I just copied/pasted all parts, and made a small change on the closed case.
codeshare.io/X8oNE8