diff --git a/E-tableaux-objets.md b/E-tableaux-objets.md index a586d4aec30bd7f545c361773428588e2eeddf6d..2a4ddd20eb17a0d925b68210eaac96553d29dc44 100644 --- a/E-tableaux-objets.md +++ b/E-tableaux-objets.md @@ -27,8 +27,8 @@ Première pizza : { nom: 'Regina', base: 'tomate', - prix_petite: 5.5, - prix_grande: 7.5, + prix_petite: 6.5, + prix_grande: 9.95, image: 'https://images.unsplash.com/photo-1532246420286-127bcd803104?fit=crop&w=500&h=300' } ``` @@ -40,7 +40,7 @@ Deuxième pizza : base: 'tomate', prix_petite: 6.5, prix_grande: 8.95, - image: 'https://images.unsplash.com/photo-1562707666-0ef112b353e0?&fit=crop&w=500&h=300&q=80' + image: 'https://images.unsplash.com/photo-1562707666-0ef112b353e0?&fit=crop&w=500&h=300' } ``` @@ -51,15 +51,15 @@ Troisième pizza : base: 'crème', prix_petite: 5.5, prix_grande: 8, - image: 'https://images.unsplash.com/photo-1458642849426-cfb724f15ef7?fit=crop&w=500&h=300&q=80' + image: 'https://images.unsplash.com/photo-1458642849426-cfb724f15ef7?fit=crop&w=500&h=300', } ``` Modifiez la boucle pour générer un code de ce type : ```html <article class="media"> - <a href="images/regina.jpg"> - <img src="images/regina.jpg" /> + <a href="https://images.unsplash.com/photo-1532246420286-127bcd803104?fit=crop&w=500&h=300"> + <img src="https://images.unsplash.com/photo-1532246420286-127bcd803104?fit=crop&w=500&h=300" /> <section class="infos"> <h4>Regina</h4> <ul>