const base="https://www.aseghesstingenieria.com.co/download/" function descargar() { let code = document.getElementById("code"); let url=base+code.value; console.log(url) window.open(url); }