From 2f4b087ab9072342ffeff7573f635e6282e707be Mon Sep 17 00:00:00 2001 From: JdM Date: Mon, 20 May 2024 13:25:07 +0200 Subject: [PATCH] Update: Refactor text in index.html and loadTeachers.js --- index.html | 2 +- scripts/loadTeachers.js | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index f4c9a76..279e9c7 100644 --- a/index.html +++ b/index.html @@ -127,7 +127,7 @@

cl

-

Qualité d'enseignement

+

Qualité des cours

5

diff --git a/scripts/loadTeachers.js b/scripts/loadTeachers.js index b8d3376..b2875fb 100644 --- a/scripts/loadTeachers.js +++ b/scripts/loadTeachers.js @@ -61,9 +61,7 @@ function addTeachers(teachers) {
${getStarsHtml( Math.round( - (teacher.teaching_quality + - teacher.kindness + - teacher.humor) / + (teacher.teaching_quality + teacher.kindness + teacher.humor) / 3 ) )} @@ -73,7 +71,7 @@ function addTeachers(teachers) {

Humour

${getStarsHtml(teacher.humor)}
-

Qualité d'enseignement

+

Qualité des cours

${getStarsHtml(teacher.teaching_quality)}