Sieve Of Eratosthenes (JS)
Simple HTML/CSS/jQuery calculator
Handy responsive pixel bar (just attach pixel.bar.js to the bottom of your script stack)
- Totally self-contained, no external dependencies
- Creates, styles, and inserts it's markup into the DOM: attach the script is your first and final step
- Styling controlled within script, feel free to modify the look and feel of anything
- Calculates width of screen using innerWidth (not clientWidth), the same width used by CSS to calculate responsive break points!