/20-20-20

A little 20-20-20 timer to help users reduce eye strain

Primary LanguageJavaScriptMIT LicenseMIT

20-20-20

This is just a simple 20-20-20 timer I made to get some client side web-dev practice. I hope someone finds it useful!

How to embed

Create a div element with id="20-20-20-timer-embed" anywhere on your page like this:

<div id="20-20-20-timer-embed"></div>

then create a script element at the end of your body tag like this:

<script src="https://districtfine.github.io/20-20-20/dist/embed.js" type="text/javascript"></script>