Skip to content

Commit f9065a3

Browse files
Add: CodeSandbox 106.
1 parent 7b44c3b commit f9065a3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3889,12 +3889,18 @@ h1 {
38893889
</head>
38903890
<body>
38913891
<h1>Hello, World!</h1>
3892-
<img src="placeholder.jpg" data-src="image.jpg" loading="lazy" alt="Lazy Loaded Image">
3892+
<img src="placeholder.png" loading="lazy" alt="Lazy Loaded Image">
38933893
<p>Welcome to our optimized website.</p>
38943894
</body>
38953895
</html>
38963896
```
38973897

3898+
[![Edit 106-Lazy Loading of Images](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/106-lazy-loading-of-images-mx2q9r)
3899+
3900+
- [^106]CodeSandbox: Lazy Loading of Images.
3901+
3902+
[^106]:[CodeSandbox: Lazy Loading of Images.](https://mx2q9r.csb.app/), last access: September 12, 2024.
3903+
38983904
- The `loading="lazy"` attribute is applied to the `<img>` tag, instructing the browser to lazily load the image when it enters the viewport, reducing initial page load times and improving performance.
38993905

39003906
##### Minimizing HTTP Requests

0 commit comments

Comments
 (0)