From 5995d858781b6bfc8def8c69209175bf2c81b850 Mon Sep 17 00:00:00 2001 From: Vincent Ramiere Date: Mon, 18 Oct 2021 11:20:00 +0200 Subject: [PATCH] modif html et css --- index.html | 4 ++-- package.json | 3 ++- script.js | 12 ++++++------ style.css | 4 ++-- 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/index.html b/index.html index d7d682d..cd6d85b 100644 --- a/index.html +++ b/index.html @@ -11,12 +11,12 @@

Our Team Members

-
+
diff --git a/package.json b/package.json index 3551280..8c9584d 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "description": "TP sur JavaScript, API et Parcell", "main": "index.html", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "start": "parcel index.html" }, "repository": { "type": "git", diff --git a/script.js b/script.js index 97fd18c..b5887b1 100644 --- a/script.js +++ b/script.js @@ -21,12 +21,12 @@ fetch(API_URL) console.log(PERSONNE); MEMBER.innerHTML +=` -
-

${PERSONNE.last_name}

-

${PERSONNE.first_name}

-

${PERSONNE.id}

-

${PERSONNE.email}

- +
+ Photo d'identité +

${PERSONNE.last_name}

+

${PERSONNE.first_name}

+

${PERSONNE.id}

+

${PERSONNE.email}

` diff --git a/style.css b/style.css index d47d2a6..5099735 100644 --- a/style.css +++ b/style.css @@ -4,11 +4,11 @@ h1 { #bloc1 { text-align: left; - display: flex; } -#fiche{ +#personne{ background-color: rgba(237, 236, 254, 1); + display: flex; } img{