diff --git a/script.js b/script.js index a264f01..e188447 100644 --- a/script.js +++ b/script.js @@ -11,7 +11,7 @@ function listPizze(){ .then((response) => response.json()) .then((pizze) => { // Creiamo la tabella - let table = ''; + let table = '
IDNomePrezzoAzioni
'; // Aggiungiamo ogni pizza come riga della tabella pizze.pizze.forEach(pizza => { diff --git a/style.css b/style.css index a29407f..8a8524e 100644 --- a/style.css +++ b/style.css @@ -14,6 +14,10 @@ header{ margin-bottom: 15px; } +table, td, th{ + border: 1px solid black; +} + td, th{ padding: 5px; }
IDNomePrezzoAzioni