diff --git a/index.html b/index.html
index 6d6401c..583c3cf 100644
--- a/index.html
+++ b/index.html
@@ -20,9 +20,8 @@
-
-
+
diff --git a/js/index.js b/js/index.js
index 2388440..a7274fc 100644
--- a/js/index.js
+++ b/js/index.js
@@ -15,6 +15,7 @@ const setCard = (photographer) => {
// CREE UNE url SPECIFIQUE POUR CHAQUE PHOTOGRAPHE (selon id)
// OUVRE LA PAGE PRO TYPE DU PHOTOGRAPHE CORRESPONDANT
href: 'propage.html?id=' + `${photographer.id}`,
+ title: `${photographer.name}`,
class: 'photographerId',
},
elmtFactory(
@@ -23,18 +24,30 @@ const setCard = (photographer) => {
elmtFactory('img', {
src: 'images/portraits/' + `${photographer.portrait}`,
alt: `${photographer.name}`,
- tabindex: '0'
+ tabindex: '0',
})
),
- elmtFactory('h2', { class: 'card__name', tabindex: '0' }, `${photographer.name}`)
+ elmtFactory(
+ 'h2',
+ { class: 'card__name', tabindex: '0' },
+ `${photographer.name}`
+ )
),
elmtFactory(
'p',
{ class: 'card__location', tabindex: '0' },
`${photographer.city}` + ', ' + `${photographer.country}`
),
- elmtFactory('p', { class: 'card__tagline', tabindex: '0' }, `${photographer.tagline}`),
- elmtFactory('p', { class: 'card__price', tabindex: '0' }, `${photographer.price}` + '€'),
+ elmtFactory(
+ 'p',
+ { class: 'card__tagline', tabindex: '0' },
+ `${photographer.tagline}`
+ ),
+ elmtFactory(
+ 'p',
+ { class: 'card__price', tabindex: '0' },
+ `${photographer.price}` + '€'
+ ),
elmtFactory('ul', { class: 'tags' })
);
@@ -48,8 +61,9 @@ const setCard = (photographer) => {
// CREE UNE url SPECIFIQUE POUR CHAQUE TAG (au clic)
{
href: '?tag=' + `${photographer.tags[j]}`,
- class: `${photographer.tags[j]}`,
rel: 'tag',
+ title: `${photographer.tags[j]}`,
+ class: `${photographer.tags[j]}`,
},
'#' + `${photographer.tags[j]}`
)
diff --git a/js/profile.js b/js/profile.js
index 1de57f1..7f9fb0c 100644
--- a/js/profile.js
+++ b/js/profile.js
@@ -56,8 +56,9 @@ const setId = (photographer) => {
'a',
{
href: `index.html?tag=${photographer.tags[j]}`,
- class: `${photographer.tags[j]}`,
rel: 'tag',
+ title: `${photographer.tags[j]}`,
+ class: `${photographer.tags[j]}`,
},
'#' + `${photographer.tags[j]}`
)
diff --git a/propage.html b/propage.html
index 5a6bd56..d5cd49d 100644
--- a/propage.html
+++ b/propage.html
@@ -20,7 +20,7 @@