Submitted
At some point my Javascript code was bringing errors. this was because I used onclick method directly on the html. For some reason the browser couldn't run the code. I added a click eventlistener instead and it worked. I still don't why the onclick method did not work on the button