{"size": 591, "ext": "js", "max_stars_repo_path": "src/manageGames.js", "max_stars_repo_name": "femto-apps/web-board-games", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/manageGames.js", "max_issues_repo_name": "femto-apps/web-board-games", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/manageGames.js", "max_forks_repo_name": "femto-apps/web-board-games", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 29.55, "max_line_length": 85, "alphanum_fraction": 0.6734348562}
function main() {
    console.log('hello')

    const sliders = Array.from(document.querySelectorAll('slider > counter'))

    console.log(sliders)

    for (let slider of sliders) {
        const func = () => { slider.innerHTML = slider.previousElementSibling.value }
        slider.previousElementSibling.addEventListener('input', func)
        slider.previousElementSibling.addEventListener('change', func)
        func()
    }
}

if(document.readyState === "complete" || document.readyState === "interactive") {
    main()
} else {
    window.addEventListener("DOMContentLoaded", main)
}