Skip to content

Commit e4bc738

Browse files
committed
Mention where the stylesheet and JS file should be placed
1 parent c783d6c commit e4bc738

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ will open the image in a new tab instead of zooming it.
2222
2. Add the `zoom-vanilla.min.js` and `zoom.css` files to your HTML page:
2323

2424
```html
25-
<link href="css/zoom.css" rel="stylesheet">
26-
<script src="dist/zoom-vanilla.min.js"></script>
25+
<link href="css/zoom.css" rel="stylesheet"> <!-- inside <head> -->
26+
<script src="dist/zoom-vanilla.min.js"></script> <!-- before </body> -->
2727
```
2828

2929
3. Add a `data-action="zoom"` attribute to the images you want to make

0 commit comments

Comments
 (0)