From 98d894f12f0a350bc4045c6bac40bf5c17869838 Mon Sep 17 00:00:00 2001 From: shahmaz0 Date: Sun, 15 Sep 2024 19:38:15 +0530 Subject: [PATCH] Fixed: Typo Issue on the Reference Dom --- src/content/reference/en/p5/createP.mdx | 8 +++----- src/content/reference/en/p5/createSpan.mdx | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/content/reference/en/p5/createP.mdx b/src/content/reference/en/p5/createP.mdx index c7998ad8f0..e65f48bd07 100644 --- a/src/content/reference/en/p5/createP.mdx +++ b/src/content/reference/en/p5/createP.mdx @@ -4,15 +4,13 @@ module: DOM submodule: DOM file: src/dom/dom.js description: > -

Creates a

element.

+

Creates a paragraph element.

-

elements are commonly used for paragraph-length - text.

+

Paragraph elements are commonly used for paragraph-length text.

The parameter html is optional. It accepts a string that sets - the + the inner HTML of the new.

- inner HTML of the new

.

line: 543 isConstructor: false itemtype: method diff --git a/src/content/reference/en/p5/createSpan.mdx b/src/content/reference/en/p5/createSpan.mdx index 6ccc331a99..3812c5f2e9 100644 --- a/src/content/reference/en/p5/createSpan.mdx +++ b/src/content/reference/en/p5/createSpan.mdx @@ -4,7 +4,7 @@ module: DOM submodule: DOM file: src/dom/dom.js description: > -

Creates a element.

+

Creates a span element.

elements are commonly used as containers