Fix wrong spelling of JS method .innerHTML

This commit is contained in:
nick2202 2023-09-22 10:13:43 +02:00 committed by Phil Jones
parent 8037487165
commit b7c1290528

View file

@ -197,7 +197,7 @@ in the previous section. The following example shows how to replace a
const geology_div = getElementById("geology-fact") const geology_div = getElementById("geology-fact")
fetch(geology_url) fetch(geology_url)
.then(response => response.text) .then(response => response.text)
.then(text => geology_div.innerHtml = text) .then(text => geology_div.innerHTML = text)
</script> </script>