eateElement('a');
                        a.className = 'dropdown-item';
                        a.href = `../${version}/index.html`;

                        // Wrap version text in a <code> element
                        const code = document.createElement('code');
                        code.textContent = version;

                        // Add <code> to <a>
                        a.appendChild(code);

                        li.appendChild(a); // Add <a> to <li>
                        dropdown.appe