create-modify-element - Fix example shortform

This commit is contained in:
2020-10-15 22:49:58 +05:30
parent 446e1447fd
commit f03d7ebf06
+1 -1
View File
@@ -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
```