Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ederssouza committed Aug 28, 2017
1 parent b117f2a commit 5fd6e91
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# VanillaJS ScrollSpy

ScrollSpy in pure JavaScript
ScrollSpy in pure JavaScript.

## How to use

Expand All @@ -20,8 +20,8 @@ scrollSpy(menu, speed, easing);
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>VanillaJS ScrollSpy</title>
<meta charset="UTF-8">
<title>VanillaJS ScrollSpy</title>
</head>

<body>
Expand Down Expand Up @@ -62,8 +62,7 @@ scrollSpy(menu, speed, easing);
</div>
</section>

<script src="src/js/scrollspy.js"></script>

<script src="src/js/scrollspy.js"></script>
<script>
var menu = document.querySelector('.navbar');
scrollSpy(menu);
Expand Down

0 comments on commit 5fd6e91

Please sign in to comment.