File size: 217 Bytes
e135dc0
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
// import '/src/style.css'
import { setupCounter } from './counter.js'

const button = document.querySelector('#counter')

if (!button) {
  throw new Error('Start button (#counter) not found')
}

setupCounter(button)