{"size": 596, "ext": "js", "max_stars_repo_path": "public/script/main.js", "max_stars_repo_name": "maksstinger/Sti1Structure", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "public/script/main.js", "max_issues_repo_name": "maksstinger/Sti1Structure", "max_issues_repo_issues_event_min_datetime": "2020-07-17T02:15:39.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-10T17:50:45.000Z", "max_forks_repo_path": "public/script/main.js", "max_forks_repo_name": "maksstinger/Sti1Structure", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 3, "max_forks_count": null, "avg_line_length": 27.0909090909, "max_line_length": 71, "alphanum_fraction": 0.6895973154}
let inputs = document.getElementsByClassName('form-item__input'),
	form = document.getElementsByClassName('form')[0];

Object.keys(inputs).forEach(i => {
	inputs[i].addEventListener('input', e => {
		if(e.srcElement.value.length > 0) {
			e.srcElement.nextSibling.nextElementSibling.style.display = 'none';
		}
		if(e.srcElement.value.length === 0) {
			e.srcElement.nextSibling.nextElementSibling.style.display = 'block';
		}
	});
});

formRemover.addEventListener('click', () => {
	form.style.display = 'none';
});

formShow.addEventListener('click', () => {
	form.style.display = 'block';
});
