Это мой сценарий JS. Он создает только тег привязки с текстом, а не кнопку с булмой.
elementos.forEach(function(value,index){
var button = document.createElement("a");
button.class = "button is-primary is-rounded";
button.innerHTML = "Element " + (index +1)+ ": " + value
container.appendChild(button);
})