Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 1.03 KB

examples.md

File metadata and controls

39 lines (33 loc) · 1.03 KB

Examples

There are various ways of working with the satellite based emissions data we provide. Here are some of our ideas.

<script> let examples = document.getElementsByTagName('example'); for (let i = 0; i < examples.length; i++) { let link = document.createElement('a'), header = document.createElement('h2'), image = document.createElement('img'); link.setAttribute('href', examples[i].getAttribute('href')); link.setAttribute('class', 'example'); image.setAttribute('src', examples[i].getAttribute('img')); header.innerText = examples[i].getAttribute('name'); link.appendChild(header); link.appendChild(image); examples[i].appendChild(link); } </script> <style> .example { display: block; margin: 65px auto; } </style>