Skip to content
  • Home
  • Articles
  • Screencasts
  • Projects
  • About
  • Resources
  • Screencasts
  • Today I learned
  • Things I use
  • Talks
  • Newsletter
  • Home Home
  • Articles Articles
  • Screencasts Screencasts
  • Projects Projects
  • About About
  • Newsletter
  • Other Stuff
    • Blogroll People blogging great stuff.
    • Resources Bookmarks I want to keep for later.
    • Show some love Support my blog and newsletter.
    • Talks Talks I've given at conferences.
    • Things I use My hardware and software setup.
    • Today I learned 213 #TIL posts.
Stefan on Mastodon Stefan on Twitter RSS

Topic: JavaScript โ€“ Page 16

  1. Check if an element includes a certain class with "matches"

    Published Jul 16 2018 in JavaScript

    I used classList.contains for years to figure out if an element contains a certain class but it turns our Element.matches does the job just fine.

  2. Faster static site builds Part 1- Process only what you need

    Published May 17 2018 in JavaScript , StaticSites

    In this first of two articles on static sites, I will share with you how you can speed up your build process on Netlify with a custom caching layer. The second article will go into the implementation of incremental builds using Nuxt.js.

  3. The new era of static sites โ€“ how JavaScript powers everything

    Published May 11 2018 in JavaScript , StaticSites

    This post takes a look at common JavaScript powered static site generators and goes into advantages of a fully powered JavaScript stack.

  4. Non-capturing groups in JavaScript regular expressions

    Published May 06 2018 in JavaScript , RegularExpressions

    How to group substrings in regular expressions without capturing them. Say hello to non-capturing groups.

  5. +-0, NaN and Object.is in JavaScript

    Published Apr 21 2018 in JavaScript

    Object.is is a better alternative to ===. Let's have a look at why!

More JavaScript content

  1. Previous page
  2. Page 16 of 24
  3. Next page

Most popular posts

  • A new method to validate URLs in JavaScript (2023 edition)
  • How to import JSON files in ES modules (Node.js)
  • APIs to generate random user avatars
  • Top-level await is available in Node.js modules
  • How to use headless Chrome in serverless functions with a 50MB limit
Read popular posts

Weekly newsletter

Weekly newsletter all around web development

Get weekly news

TIL: Today I learned in Web Dev

  • How to escape CSS selectors in JavaScript
  • Self-closing tags are mostly meaningless in HTML
  • How to use EventTarget as a web-native event emitter
Learn something new

Blogroll

15 random RSS feeds I'm subscribed to. ๐Ÿ‘‡

Discover fantastic blogs

Other stuff

Topics

  • JavaScript (117 posts)
  • CSS (89 posts)
  • Tools (56 posts)
  • HTML (41 posts)
  • Bash (40 posts)
  • NodeJS (35 posts)
  • Accessibility (27 posts)
  • Web (22 posts)
  • git (20 posts)
  • Performance (19 posts)
  • macOS (15 posts)

Web Dev Learnings

  • Check if an element includes a certain class with "matches"
  • Online RSS readers send follower counts in their user agent string
  • How to align the text of the last paragraph line
  • em and strong are not announced by screen readers
  • How to automatically respond to confirmations in CLI tools
  • Top-level promise handling in Node.js ES modules

Popular articles

  • A new method to validate URLs in JavaScript (2023 edition)
  • How to import JSON files in ES modules (Node.js)
  • APIs to generate random user avatars

Recently updated resources

  • Timeless articles
  • Job hunt and interviewing
  • A Firefox-only minimap
ยฉ 2023 Copyright Stefan Judis. All rights reserved.
โ™ฅ๏ธ