Stop Using JavaScript for That: Moving Features to CSS and HTML

If you've been building websites for a while, you "know" that some things require JavaScript, and that's just the way it is. Turns out, spec writers and browser makers are both working hard to find common JavaScript patterns and implementing them in CSS and HTML. Things like accordions, auto-suggest, smooth scrolling, and dialogs are all available without JavaScript. Looking a little ahead, things like parallax scrolling, styleable selects and component-dependent styling are expected to make their CSS-debut as well.

In this talk, I walk through a few common patterns, explain how they can be implemented in CSS and HTML, how that's better and what accessibility implications they have.

Vorkenntnisse

  • Assumed previous knowledge is having implemented a website before

Lernziele

  • Concrete examples across a wide variety of situations where JavaScript is no longer needed during the implementation of a feature
  • The realisation that on the web everything keeps working forever, but that that doesn't mean the way something has been implemented is still the most accessible, performant or simple, and that re-learning things is a vital part of web development

Speaker

 

Kilian Valkhof
Kilian Valkhof is a front-end developer with over 20 years of experience that switched from building websites to building apps to build websites with. He is interested in modern web development, desktop app development and new technologies, and regularly speaks about topics like responsive websites, design systems and Electron. Kilian is a frequent open source contributor.

enterJS-Newsletter

Du möchtest über die enterJS
auf dem Laufenden gehalten werden?

 

Anmelden