Hey I have this code where I make a get request and the result gets stringified on the console. I want to take a specific value and print it on a paragraph on the webpage. How can I make that?
<script type="text/javascript">
fetch('https://ethgasstation.info/api/ethgasAPI.json?api-key=apikey')
.then(response => response.json())
.then(json => console.log(JSON.stringify(json)))
</script>