Skip to content

Commit

Permalink
Fixed: Typo Issue on the Reference Dom
Browse files Browse the repository at this point in the history
  • Loading branch information
Shahmaz0 committed Sep 15, 2024
1 parent 0182eaa commit 98d894f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions src/content/reference/en/p5/createP.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ module: DOM
submodule: DOM
file: src/dom/dom.js
description: >
<p>Creates a <code><p></p></code> element.</p>
<p>Creates a paragraph element.</p>
<p><code><p></p></code> elements are commonly used for paragraph-length
text.</p>
<p>Paragraph elements are commonly used for paragraph-length text.</p>
<p>The parameter <code>html</code> is optional. It accepts a string that sets
the
the inner HTML of the new.</p>
inner HTML of the new <code><p></p></code>.</p>
line: 543
isConstructor: false
itemtype: method
Expand Down
2 changes: 1 addition & 1 deletion src/content/reference/en/p5/createSpan.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module: DOM
submodule: DOM
file: src/dom/dom.js
description: >
<p>Creates a <code><span></span></code> element.</p>
<p>Creates a <code><span></span></code> span element.</p>
<p><code><span></span></code> elements are commonly used as containers
Expand Down

0 comments on commit 98d894f

Please sign in to comment.