             option.value = type;
                option.text = type;
                typeSelect.appendChild(option);
            });
        });

    const languageCodeInput = document.querySelector('#language-code');
    const generateTestButton = document.querySelector('#generate-test');
    generateTestButton.addEventListener('click', (e) => {
        fetch(normalizePath(`generate/${typeSelect.value}/${languageCodeInput.value}`))
            .then(() => new Promise((resolve) => setTimeout(resolve, 500))