Skip to content

DeshanHarshana/counter-increament

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Increment Counter

Usage

  • Add following syntax to html file
<!DOCTYPE html>
<head>
   
</head>
<body>
    <h1>Counting Value that you want to increase</h1>
    <h2 data-target="1200" speed="500" class="count">100</h2>
</body>
</html>

data-target need how much we should increase speed need what is the counting speed

  • Script file should be like
import { countValue } from "increment-counter";

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published