We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a9bc4c commit 1eebcf2Copy full SHA for 1eebcf2
starter/09-Omnifood-Optimizations/index.html
@@ -96,11 +96,15 @@ <h1 class="heading-primary">
96
</div>
97
98
<div class="hero-img-box">
99
- <img
100
- src="img/hero.png"
101
- class="hero-img"
102
- alt="Woman enjoying food, meals in storage container, and food bowls on a table"
103
- />
+ <picture>
+ <source srcset="img/hero.webp" type="image/webp" />
+ <source srcset="img/hero-min.png" type="image/png" />
+ <img
+ src="img/hero-min.png"
104
+ class="hero-img"
105
+ alt="Woman enjoying food, meals in storage container, and food bowls on a table"
106
+ />
107
+ </picture>
108
109
110
</section>
0 commit comments