Posts tagged with “javascript“ (14)

  1. An arrow from a server is inserting a box into a webpage that is displayed on a mobile screen.

    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.

  2. 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?

  3. 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?

  4. 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?

  5. 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!

  6. 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?

  7. 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!

  8. 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?

  9. 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.

  10. How to add a ‘copy to clipboard’ button to code blocks

    A copy button enabled quick copying of code to the clipboard. I will show how to use the Clipboard API, style the button, and provide user feedback.