Skip to content

Commit

Permalink
Fix wrong spelling of JS method .innerHTML
Browse files Browse the repository at this point in the history
  • Loading branch information
nick2202 authored and pgjones committed Sep 24, 2023
1 parent 8037487 commit b7c1290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/patterns/javascript.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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>


Expand Down

0 comments on commit b7c1290

Please sign in to comment.