4min chapter

Syntax - Tasty Web Development Treats cover image

Standard Server JavaScript - Deno, Workers, Bun and More

Syntax - Tasty Web Development Treats

CHAPTER

How to Use URL Params to Add or Remove State in Your Website

The URL is a good place to have state because you can share it. Having your application state in a way for things like filtering or sorting or those types of things in the URL is lovely. Next one we have here is add event listener. You're probably using add event listener for clicks and other events in the browser. Well, surprise, surprise. The exact API works also in on the server.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode