Merge pull request #70 from fodra/fix/readme-typo

fix: docment -> document
This commit is contained in:
Micah Godbolt
2019-03-03 18:29:00 -08:00
committed by GitHub

View File

@@ -119,7 +119,7 @@ button.onclick = displayMatches();
You can also combine these together like this:
```js
docment.querySelector('.submit').onclick = displayMatches;
document.querySelector('.submit').onclick = displayMatches;
```
Wire this up and see you function in action!