{"size": 634, "ext": "js", "max_stars_repo_path": "main.js", "max_stars_repo_name": "fillipepacheco/contact", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "main.js", "max_issues_repo_name": "fillipepacheco/contact", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "main.js", "max_forks_repo_name": "fillipepacheco/contact", "max_forks_repo_forks_event_min_datetime": "2018-05-15T13:25:20.000Z", "max_forks_repo_forks_event_max_datetime": "2018-05-15T13:25:20.000Z"}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 21.1333333333, "max_line_length": 55, "alphanum_fraction": 0.6167192429}
// JavaScript Document
var inputs = $("input:text, textarea");

var validateInputs = function validateInputs(inputs) {
	var validForm = true;
	inputs.each(function(index) {
		var input = $(this);
		if (!input.val()) {
			$("#submit").attr("eneable", "eneable");
			validForm = false;
		}
	});
	return validForm;
}


inputs.each(function() {
	var input = $(this);
	input.keyup(function() {
		if (validateInputs(inputs)) {
			$("#submit").removeAttr("disabled");
		}
	});
});

var b = document.getElementById('submit');
b.addEventListener('click', function(e){
	alert("Message been sent sucessefuly!");
});
