Posts by Thalis Soares • 11 points
1 post
-
1
votes5
answers3663
viewsA: How to scan an array and insert the elements into HTML with JS
Hello. I did using the concept for...of to traverse the vector. function listarNomes() { var nomes = ["Diego", "Gabriel", "Lucas"]; var listElement = document.createElement('ul'); for (var value of…