ES6 In Depth: Template strings – Mozilla Hacks – the Web developer blog
ES6 In Depth is a series on new features being added to the JavaScript programming language in the 6th Edition of the ECMAScript standard, ES6 for short. Last week I ...
Welcome to the second part of my series about ECMAScript 6! One of my favorite new web standards of Microsoft Edge, the new browser rendering engine we’re creating at Microsoft, is the...
Managing State in CSS with Reusable JavaScript Functions | CSS-Tricks
Determining the most efficient way of managing state can be a challenging issue in CSS, but thankfully there are many OOCSS-based methodologies out there which provide some good solutions. This article is all about managing the attributes that help with state through JavaScript in efficient ways.
There’s a certain kind of old-school, backend web developer who, a long time ago, mastered things like Perl or Python or PHP or Java Server Pages, maybe ...
We've been talking about writing less complex JavaScript. We do this by choosing the right abstraction to solve a problem. But how do you know which abstraction to use? So far, we haven't looked at any concrete examples of how to do this. In this article we look at how to deal with JavaScript arrays, without using any loops. The end result is less complex code.
How to build a random quote generator with JavaScript and HTML, for absolut
by Sophanarith Sok How to build a random quote generator with JavaScript and HTML, for absolute beginnersThis tutorial is intended for beginners who want to learn how to create a simple web application using JavaScript. It will help you understand the interaction between JavaScript and an HTML document, and how
Closures are a fundamental JavaScript concept that every serious programmer should know inside and out. The Internet is packed with great explanations of “what” closures are, but few deep-dive into the “why” side of things. I find that understanding the internals ultimately gives developers a stronger grasp of their tools,
javascript - How to detect a click outside an element? - Stack Overflow
I have some HTML menus, which I show completely when a user clicks on the head of these menus. I would like to hide these elements when the user clicks outside the menus' area. Is something like t...