skip to main content
jonc____
aiming to think things through in a world of robots
nooks / codepens

🏔️

code

[textbook-alpinejs]

Using x-ref in Alpine.js

giving names to DOM elements in Alpine.js

🏔️

2025-09-24

code

[snippets]

Shorthand cheatsheet for Alpine.js

briefer ways to write code in Alpine.js

visit URL

🏔️

code

[textbook-alpinejs]

Templating and styling with Alpine.js

decorating our HTML with style directives

🏔️

code

[textbook-alpinejs]

Searching within lists with Alpine.js

a quick script for matching patterns in arrays

🏔️

2025-09-18

code

[textbook-alpinejs]

Hiding and showing content with Alpine.js

toggling stuff with this simple JavaScript framework

📒

2025-08-17

code

[snippets]

URL manipulation with JavaScript

using window.location and decodeURIComponent

made with sanity + next.js