Posts by Gabriel H Veiga • 1 point
2 posts
-
0
votes2
answers59
viewsA: Add Account in Array and View information in a Table
const clients = []; const account = []; function addAccount(){ clients.push({ name: prompt("Nome: "), account: prompt("Conta: ") }); } function showAccounts(){ info.innerHTML = '<table>';…
-
0
votes2
answers59
viewsQ: Add Account in Array and View information in a Table
Can you help me with a code? I need you to enter information in two Array through two different messages prompt whenever the "Add Account" button is triggered and, as soon as the "Show Accounts"…