JavaScript for designers

Updated on November 27th, 2018

Introduction

  • JavaScript allows us to add interaction to our pages as a complement to the structural layer that is markup and the presentational layer that is CSS.

defer and async

  • In Responsible Responsive Web Design, Scott Jehl recommends loadin scripts async using JS itself: a tiny "loader" script in the head that requests additional scripts as needed.

Your editor

  • Having your editor assing colours to keywords, functions, variables, and so on will make a script easier to understand at a glance.

(More soon).