Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Counter index initializer
// Initialize the counter code when DOM is ready
import './style.sass';
import counter from './counter';
document.addEventListener('DOMContentLoaded', () => {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment