Skip to content

Commit 42e00ed

Browse files
authored
Update README.md
1 parent dcf6510 commit 42e00ed

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The colors are changable by overwriting the CSS classes.
1717

1818
This should work on every browser that supports the ES2015 JavaScript Standard.
1919

20-
Testet so far:
20+
Tested so far:
2121
- iOS 15 Safari
2222
- Chromium v98 (Chrome, Brave ...)
2323

@@ -28,29 +28,29 @@ Testet so far:
2828
3. Load these files within your HTML as follows:
2929
````HTML
3030
<html>
31-
<head>
32-
...
33-
<link rel="stylesheet" href="/assets/om-javascript-range-slider.css">
34-
</head>
35-
<body>
36-
...
31+
<head>
32+
...
33+
<link rel="stylesheet" href="/assets/om-javascript-range-slider.css">
34+
</head>
35+
<body>
36+
...
3737

38-
<script src="/assets/om-javascript-range-slider.js"></script>
39-
<body>
38+
<script src="/assets/om-javascript-range-slider.js"></script>
39+
<body>
4040
</html>
4141
````
4242
4. Initialize the library by adding another `<script>`-block containing the following code:
4343
````HTML
4444
...
45-
<body>
46-
...
45+
<body>
46+
...
4747

48-
<script src="/assets/om-javascript-range-slider.js"></script>
48+
<script src="/assets/om-javascript-range-slider.js"></script>
4949

50-
<script>
51-
OmRangeSlider.init();
52-
</script>
53-
<body>
50+
<script>
51+
OmRangeSlider.init();
52+
</script>
53+
<body>
5454

5555
````
5656
5. Add a range-input somewhere to your `<body>`:
@@ -86,4 +86,4 @@ To set the value to the input via PHP, just use implode for an array containing
8686

8787
````HTML
8888
<input name="percent_range" type="range" multiple="multiple" min="5" max="100" unit="%" value="<?php echo implode(',', [5,85]); ?>">
89-
````
89+
````

0 commit comments

Comments
 (0)