Spostato bordo tabella in stylesheet
This commit is contained in:
1 parent
1867b0e7d1
commit
4f64cb71eb
2 files changed
+5
-1
No files matched your search
@@ -11,7 +11,7 @@ function listPizze(){
|
||||
.then((response) => response.json())
|
||||
.then((pizze) => {
|
||||
// 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
|
||||
pizze.pizze.forEach(pizza => {
|
||||
|
||||
Reference in new issue
Block a user