Simple Scroll to Top Button
A scroll-to-top button is exactly what it sounds like. It’s a button that when clicked scrolls the current page back to the top of the screen. It could be configured to scroll to different locations on the page, for example, different sections of a post, but we’re going to focus on the scroll-to-top part only.
Animated mobile navigation menu with Svelte
Building a responsive mobile navigation menu is simple using Svelte’s built-in animation tools. In this post, I’ll walk you through how I built the responsive navigation bar on this site, and we’ll focus on the mobile UI in particular.