From b3ac319ba91a232b51728c839e66acae467ca599 Mon Sep 17 00:00:00 2001 From: Eliott Collin <eliott.collin0307@gmail.com> Date: Mon, 24 Jan 2022 15:26:49 +0100 Subject: [PATCH] C1 fait --- index.html | 2 ++ src/main.js | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 4ad9a84..f8ca94f 100644 --- a/index.html +++ b/index.html @@ -13,6 +13,8 @@ <link rel="stylesheet" href="css/news.css"> <link rel="stylesheet" href="css/pizzaList.css"> <link rel="stylesheet" href="css/footer.css"> + + <script src="src/main.js"></script> </head> <body> <header> diff --git a/src/main.js b/src/main.js index c3edb80..a73eb5e 100644 --- a/src/main.js +++ b/src/main.js @@ -1 +1,4 @@ -console.log('Welcome to PizzaLand 🍕 !'); \ No newline at end of file +console.log('Welcome to', {title:'PizzaLand', emoji:'🍕'}); +console.warn("Oh oh attention"); +console.error("fatal error lol"); +console.table([['Walter', 'White'], ['Skyler', 'White'], ['Saul', 'Goodman']]); \ No newline at end of file -- GitLab