Sollicitatievraag bij Lendbuzz

1) Here's the code for a Counter in JavaScript, debug why does it not work?