Simulate the Franck and Hertz experiment via HTML, CSS and JavaScript