Spostato bordo tabella in stylesheet
This commit is contained in:
@@ -11,7 +11,7 @@ function listPizze(){
|
|||||||
.then((response) => response.json())
|
.then((response) => response.json())
|
||||||
.then((pizze) => {
|
.then((pizze) => {
|
||||||
// Creiamo la tabella
|
// Creiamo la tabella
|
||||||
let table = '<table border="1"><tr><th>ID</th><th>Nome</th><th>Prezzo</th><th>Azioni</th></tr>';
|
let table = '<table><tr><th>ID</th><th>Nome</th><th>Prezzo</th><th>Azioni</th></tr>';
|
||||||
|
|
||||||
// Aggiungiamo ogni pizza come riga della tabella
|
// Aggiungiamo ogni pizza come riga della tabella
|
||||||
pizze.pizze.forEach(pizza => {
|
pizze.pizze.forEach(pizza => {
|
||||||
|
|||||||
Reference in New Issue
Block a user