{"size": 878, "ext": "js", "max_stars_repo_path": "JavaScript_intermediario/modificando-elementos/javascript/script.js", "max_stars_repo_name": "HiagoSilvaAnjos/ProgBR", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "JavaScript_intermediario/modificando-elementos/javascript/script.js", "max_issues_repo_name": "HiagoSilvaAnjos/ProgBR", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "JavaScript_intermediario/modificando-elementos/javascript/script.js", "max_forks_repo_name": "HiagoSilvaAnjos/ProgBR", "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": 22.5128205128, "max_line_length": 69, "alphanum_fraction": 0.6651480638}
var h = document.getElementsByTagName("h1");

for (let i of h) {
    i.style.color = "white",
    i.style.fontFamily = "Arial",
    i.style.textAlign = "center",
    i.style.backgroundColor = "blue",
    i.style.padding = "5%"
}



var p = document.getElementsByClassName('paragrafo');

for (let i of p) {
    i.style.backgroundColor = "green"
    i.style.color = "yellow"
    i.style.textAlign = "center"
    i.style.padding = "10px"
    i.style.fontSize = "1.5em"
    i.innerHTML = "<h2>Agora é h2</h2>"
}


let p2 = document.getElementById("p2");
p2.style.backgroundColor = "green"
p2.style.color = "white"
p2.style.textAlign = "center"
p2.style.padding = "10px"
p2.innerHTML = "<h3>Agora é h3</h3>"

/*
O innerHTML vai receber um HTML 

O innertText vai receber um texto que vai ser mostrado na tela

O textContent vai me mostrar tudo que é testo que está dentro do HTML

*/