Update article.md

FIxed typo
This commit is contained in:
Anton Krekotun 2019-07-23 12:33:13 +03:00 committed by GitHub
parent 8319c71e03
commit 8e8f165b28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,7 @@ For instance:
</body>
```
If we assign something to `elem.className`, it replaces the whole strings of classes. Sometimes that's what we need, but often we want to add/remove a single class.
If we assign something to `elem.className`, it replaces the whole string of classes. Sometimes that's what we need, but often we want to add/remove a single class.
There's another property for that: `elem.classList`.