{"size": 623, "ext": "js", "max_stars_repo_path": "src/public/js/index.js", "max_stars_repo_name": "Jgarciaortega/Run-to-win-project", "max_stars_repo_stars_event_min_datetime": "2020-06-10T10:07:39.000Z", "max_stars_repo_stars_event_max_datetime": "2020-06-10T10:07:39.000Z", "max_issues_repo_path": "src/public/js/index.js", "max_issues_repo_name": "Jgarciaortega/Run-to-win-project", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/public/js/index.js", "max_forks_repo_name": "Jgarciaortega/Run-to-win-project", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 20.0967741935, "max_line_length": 72, "alphanum_fraction": 0.6083467095}


// function fijarHeader() {

//     // Get the header
//     var header = document.querySelector('header');

//     // Get the offset position of the navbar
//     var sticky = header.offsetTop;

//     if (window.pageYOffset > sticky) {
//         header.classList.add("sticky");
//     } else {
//         header.classList.remove("sticky");
//     }

// }


function init(){

   document.querySelector('.menu-btn').addEventListener('click', () => {
       document.querySelector('.nav-menu').classList.toggle('show');
   })
}

window.addEventListener('load', init);
// window.addEventListener('scroll', fijarHeader);


