From 77656ff29750463fee864ad613dfd330bbca63dd Mon Sep 17 00:00:00 2001 From: Anton Krekotun <36279559+tonchique@users.noreply.github.com> Date: Tue, 16 Jul 2019 13:08:54 +0300 Subject: [PATCH] Update article.md --- 2-ui/1-document/04-searching-elements-dom/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2-ui/1-document/04-searching-elements-dom/article.md b/2-ui/1-document/04-searching-elements-dom/article.md index b5dbba50..68141710 100644 --- a/2-ui/1-document/04-searching-elements-dom/article.md +++ b/2-ui/1-document/04-searching-elements-dom/article.md @@ -113,7 +113,7 @@ Previous methods were searching the DOM. The [elem.matches(css)](http://dom.spec.whatwg.org/#dom-element-matches) does not look for anything, it merely checks if `elem` matches the given CSS-selector. It returns `true` or `false`. -The method comes handy when we are iterating over elements (like in array or something) and trying to filter those that interest us. +The method comes in handy when we are iterating over elements (like in array or something) and trying to filter those that interest us. For instance: