From 4f64cb71ebbea94942812cfad0d554e40f31563c Mon Sep 17 00:00:00 2001 From: Andrea Date: Thu, 13 Nov 2025 08:47:24 +0100 Subject: [PATCH] Spostato bordo tabella in stylesheet --- script.js | 2 +- style.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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