No-Library (pure JS), HTML, CSS, JavaScript
Switch with object literal.
Example by using React Application
ModalCreation