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
1 changed files with 1 additions and 1 deletions

View File

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