{"size": 916, "ext": "js", "max_stars_repo_path": "scripts.js", "max_stars_repo_name": "jailtonmendes/htmCssJS", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "scripts.js", "max_issues_repo_name": "jailtonmendes/htmCssJS", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "scripts.js", "max_forks_repo_name": "jailtonmendes/htmCssJS", "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": 26.9411764706, "max_line_length": 110, "alphanum_fraction": 0.6692139738}
function somarDoisNumeros() {
    var primeiroNumero = document.getElementById
    ("primeiroNumero").value;

    var segundoNumero = document.getElementById
    ("segundoNumero").value;

    var resultado = Number(primeiroNumero) + Number(segundoNumero)
    document.getElementById("resultado").innerHTML = primeiroNumero + "+" + segundoNumero + " = " + resultado;

}

function verificarSaldo() {
    var saldo = document.getElementById("saldo").value;

    if (saldo >= 0) {
        document.getElementById("farol")
        .style.backgroundColor = "green";
    } else {
        document.getElementById("farol")
        .style.backgroundColor = "red"
    }
}

function gerarNumeros() {
    var sorteados = document.getElementById("sorteados").value;
    

    var sorteados = Math.floor(Math.random() * 10);
    document.getElementById("sorteados").innerHTML = sorteados =  Math.floor(Math.random() * 60) + 1;

}

