This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id = header> | |
<!-- Conteúdo do cabeçalho --> | |
</div> | |
<div id = nav> | |
<!-- Conteúdo de navegação --> | |
</div> | |
<div id = article> | |
<!-- Conteúdo do artigo --> | |
</div> | |
<div id = footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<header> | |
<!-- Conteúdo do cabeçalho --> | |
</header> | |
<nav> | |
<!-- Conteúdo de navegação --> | |
</nav> | |
<article> | |
<!-- Conteúdo do artigo --> | |
</article> | |
<footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<fig id=angelfig> | |
<figbody> | |
<artwork depth=24p> | |
</artwork> | |
</figbody> | |
<figcap>Three Angels Dancing</figcap> | |
</fig> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<fig id=angelfig> | |
<figbody> | |
<artwork depth=24p> | |
<figcap>Three Angels Dancing | |
</fig> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<figure> | |
<img src="#" alt="#"> | |
<figcaption>Three Angels Dancing</figcaption> | |
</figure> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--[if lt IE 9]> | |
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script> | |
<![endif]--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const addressInput = document.querySelector('#address-input') | |
const ipInfoBtn = document.querySelector('#ip-info-btn') | |
const ipInfoField = document.querySelector('#ip-info') | |
ipInfoBtn.addEventListener('click', () => { | |
ipInfoField.innerHTML = '<img src="img/loading.gif">' | |
let address = addressInput.value | |
let url = `https://ipinfo.io/${address}/json` | |
fetch(url) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
([param] …) => { | |
statements | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ([param] …) expression |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function nomeDaFuncao ([param] …) { | |
expressions | |
} |
OlderNewer