Fix wrong spelling of JS method .innerHTML
This commit is contained in:
parent
8037487165
commit
b7c1290528
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue