WDI Day Eight: ATM Lab

I’m definitely out of my comfort zone now when it comes to WDI, which is great – let the learning commence!

Today was another lab day, and it was definitely a struggle. Our assignment was to create an ATM where users could deposit and withdraw funds in a checking and savings account. If the account value was zero, a CSS class needed to be assigned to the ATM that highlighted the balance in red.

At the end of the day, I managed to complete the lab along with the bonus assignments. My biggest issue was being able to make the code cleaner. I was able to get the functionality down right, it was just a matter of writing shorter code. I guess that’s something for me to aspire to?

Overall, I’m pretty proud that I was able to get something to work. Makes you feel like a bit of a magician when your javaScript is functional.


  • Console.log is really useful in figuring out how the browser is reading variables
  • Figuring out when a user is clicking a button within a specific div
  • Pseudo coding well in the beginning can really help you out later
  • Struggling with an exercise until you figure it out can help solidify some of the overall javaScript concepts

Leave a Reply