This is the simulation of how Bubble Sort works using JavaScript and HTML elements