From f03d7ebf067f17a12fb512203de110a340998a47 Mon Sep 17 00:00:00 2001 From: bendtherules Date: Thu, 15 Oct 2020 22:49:58 +0530 Subject: [PATCH] create-modify-element - Fix example shortform --- docs/create-modify-element.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/create-modify-element.mdx b/docs/create-modify-element.mdx index 67d6d83..9c060ca 100644 --- a/docs/create-modify-element.mdx +++ b/docs/create-modify-element.mdx @@ -18,7 +18,7 @@ This method returns the **first element that matches the CSS selector**. If no m ```js document.querySelector(selector); -// Ex. - .container > .box +// Ex- .container > .box document.querySelector(".box"); // returns .box document.querySelector(".not-found"); // null ```