I think the while loop is the main problem. I honestly recommend using the .addEventListener() method. I think deleting the while loop and keeping its body is the way. The function will always happen when clicking the Burton, making the while loop useless. Try my solutions, if it won't work, we might investigate further!