Posts tagged with “javascript“ (15)
-
A fun copy code interaction - photocopy code animation
I thought it would be cool to mimick a photocopier for the copy action of a code block.
-
Third-party embeds: script embed vs iframe embed. Which should you choose?
I will compare the 2 main methods of embedding third-party content in a website and outline some best practices.
-
How to check how much space node_modules folders take up
Your project’s node dependencies can gobble a considerable chunk of your hard-drive. How can you find out how much space node_modules folders take up?
-
How can I keep up with changes to the web platform?
What resouces can help to keep up with changes to HTML, CSS, and JavaScript? Do we know what is coming soon?
-
How to migrate a JavaScript project to pnpm (package manager)
pnpm claims to be the performant node package manager. Is it worthwhile migrating my existing projects?
-
Add a smart back to top button to your website 👓🔝
A back to top button helps users navigate to the top of long pages. I want to show you a smart version that stays out of the reader’s way!
-
Detect scroll direction in vanilla JavaScript
I had a goofy idea. I wanted to animate a website logo so that it would fall over when a user scrolled down. How can you detect scroll direction?
-
How to include browser support data (caniuse) in your blog posts
Wouldn’t it be great to have a simple way to include caniuse data in your posts? Your readers will appreciate it, I’m sure!
-
Native lazy-loading - Why doesn’t the video element have it?
We have the ability to lazy load images and iframes in browsers now via the loading attribute. This is a huge boon for web performance. But why not videos too?
-
Add bookmark links to your blog to make it easy to reference
Bookmark links are links in the headings to make it possible to reference a section of your page with an URL. I will show you how to create them.