Platform
Resources
Pricing
Sign in
Get started
Martin Milan
Workspace
Fork
Public
By
Martin Milan
Edited
Jun 15, 2023
Insert cell
Insert cell
width
Insert cell
/////html(`<a href="dsfdf">`+'gffdg'+ `</a>`)
html
(
[
`<a href="dsfdf">`
+
x
+
`</a>`
]
)
Insert cell
html
`<a href="dsfdf"> ${
x
} gffdg </a> `
Insert cell
x
=
'abc'
Insert cell
document
.
body
.
textContent
Insert cell
document
.
body
.
childNodes
[
0
]
.
textContent
Insert cell
document
.
body
.
children
[
0
]
.
textContent
Insert cell
document
.
body
.
children
[
0
]
.
children
[
0
]
.
textContent
Insert cell
document
.
body
.
children
[
0
]
.
children
[
1
]
.
textContent
Insert cell
document
.
body
.
children
[
0
]
.
children
[
0
]
.
outerHTML
Insert cell
document
.
body
.
children
[
0
]
.
children
[
0
]
.
innerHTML
Insert cell
document
.
body
.
children
[
0
]
.
children
[
0
]
Insert cell
document
.
getElementById
(
"cell-4"
)
Insert cell
getSelection
(
)
Insert cell
xpathToExecute
=
'//div'
Insert cell
nodesSnapshot
=
document
.
evaluate
(
xpathToExecute
,
document
,
null
,
XPathResult
.
ORDERED_NODE_SNAPSHOT_TYPE
,
null
)
Insert cell
{
for
(
var
i
=
0
;
i
<
nodesSnapshot
.
snapshotLength
;
i
++
)
{
console
.
log
(
nodesSnapshot
.
snapshotItem
(
i
)
)
;
}
}
Insert cell
window
Insert cell
document
Insert cell
globalThis
Insert cell
this
Insert cell
function
f
(
)
{
console
.
log
(
54
)
//debugger;
//debugger; SHOULD BE COMMENED OUT usually ?
}
Insert cell
f
(
)
Insert cell
$
Insert cell
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Try it for free
Learn more
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
x
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
xpathToExecute
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
nodesSnapshot
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
f
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML