Platform
Resources
Pricing
Sign in
Get started
Andrew Wooldridge
📜JavaScript developer. 🐲RPG fan. 📚Storyteller and 🕹game developer. 👨Father and Husband.
Workspace
Fork
Published
2 collections
By
Andrew Wooldridge
Edited
Feb 17, 2022
1 star
Insert cell
Insert cell
Insert cell
Embla
=
require
(
"embla-carousel"
)
Insert cell
Insert cell
Insert cell
<
div
class
=
"embla"
>
<
div
class
=
"embla__container"
>
<
div
class
=
"embla__slide"
>
Slide 1
</
div
>
<
div
class
=
"embla__slide"
>
Slide 2
</
div
>
<
div
class
=
"embla__slide"
>
Slide 3
</
div
>
</
div
>
</
div
>
Insert cell
Insert cell
<
style
>
.
embla
{
overflow
:
hidden
;
}
.
embla__container
{
display
:
flex
;
}
.
embla__slide
{
position
:
relative
;
flex
:
0
0
100
%
;
}
</
style
>
Insert cell
Insert cell
{
const
embla
=
Embla
(
document
.
querySelector
(
'.embla'
)
,
{
loop
:
false
}
)
}
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
Listed in...
Tips and Utilities
Andrew Wooldridge
Working Libraries
Andrew Wooldridge
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Embla
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
wrapper
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML