From fb21e1decc020efe8fe05c31e66118502369f910 Mon Sep 17 00:00:00 2001 From: Robert Mennell Date: Mon, 16 Jul 2018 17:42:31 -0700 Subject: [PATCH 1/2] create Element glossary for disambiguation I'm curious if this works well enough. Should there also be a way for us to include optional examples? --- glossary/Element.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 glossary/Element.md diff --git a/glossary/Element.md b/glossary/Element.md new file mode 100644 index 000000000..62a526b14 --- /dev/null +++ b/glossary/Element.md @@ -0,0 +1,2 @@ +### Element +A JavaScript representation of a DOM element commonly returned by `document.querySelector()` and `document.createElement()`. They are used when creating content with JavaScript for display in the DOM that needs to be programatically generated. From e1b174211e8c2b6569de39c4ee4321134992c1c9 Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Tue, 17 Jul 2018 20:59:26 +0300 Subject: [PATCH 2/2] Update Element.md --- glossary/Element.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/glossary/Element.md b/glossary/Element.md index 62a526b14..bc241a74d 100644 --- a/glossary/Element.md +++ b/glossary/Element.md @@ -1,2 +1,4 @@ ### Element -A JavaScript representation of a DOM element commonly returned by `document.querySelector()` and `document.createElement()`. They are used when creating content with JavaScript for display in the DOM that needs to be programatically generated. + +A JavaScript representation of a DOM element commonly returned by `document.querySelector()` and `document.createElement()`. +They are used when creating content with JavaScript for display in the DOM that needs to be programatically generated.