hello.js

var please = require('share');
console.log('thank you');

Wednesday, 11 January, 2017 UTC

Prototyping a subcontinent scale sculpture in A-Frame

Prototyping a subcontinent scale sculpture in A-Frame

Back in 2016, I submitted a concept in response to the British Council call for entries to their UK-India 2017 Digital Open Call. Titled “A piece of Art as big as India”, the idea was to create an augmented reality sculpture that the people of India ... more


Wednesday, 4 January, 2017 UTC

TypedArray or DataView: Understanding byte order

TypedArray or DataView: Understanding byte order

TL;DR Depending on how you access an ArrayBuffer you get different byte order on the same machine. So long story short: it makes a difference if you use a TypedArray or the setters from a DataView. ArrayBuffer is there to give efficient and fast access ... more


Wednesday, 7 December, 2016 UTC

Async/Await Arrive in Firefox

Async/Await Arrive in Firefox

The new async and await keywords—which make asynchronous code more concise, obvious, and maintainable—have arrived in Firefox 52. Currently available in the latest Developer Edition release, Firefox 52 is scheduled for general release in March 2017. ... more


Tuesday, 8 November, 2016 UTC

Mozilla Push Server now supports topics

Mozilla Push Server now supports topics

In Firefox 44, Mozilla added Web Push capability to the browser. This gives websites the ability to notify users when something important needs to be communicated. For example, you may have a web app that wants to notify users when they receive a WebRTC ... more


Monday, 31 October, 2016 UTC

WebAssembly Browser Preview

WebAssembly Browser Preview

Since the last WebAssembly milestone we reached in March, we’ve been hard at work in the WebAssembly Community Group to define a standard and to implement that standard in our respective browsers. I’m happy to say now that we have a binary format release ... more


Thursday, 27 October, 2016 UTC

Control mechanisms in JavaScript games

Control mechanisms in JavaScript games

Laptops, computers, smartphones, tablets, TVs, even fridges have one thing in common — they can probably run a browser, so you can probably play an HTML5 game on them. Rendering the game on screen is one thing, but you also have to control it somehow, ... more


Tuesday, 25 October, 2016 UTC

What’s new in IndexedDB 2.0?

What’s new in IndexedDB 2.0?

The draft of Indexed Database API 2.0 is almost complete, providing several new APIs for fine-grained access to IndexedDB. The good news is that all these new APIs are implemented in Firefox and will be available in the release of Firefox 51 (currently ... more


Wednesday, 19 October, 2016 UTC

Offline strategies come to the Service Worker Cookbook

Offline strategies come to the Service Worker Cookbook

serviceworke.rs is a compendium of common and uncommon Service Worker use cases including push examples, usage patterns, performance tips and caching strategies. Service Worker Cookbook recipes are presented as playgrounds or labs, with fully functional ... more


Tuesday, 18 October, 2016 UTC

An Interview With Giovanny Beltran, js13kgames Winner

An Interview With Giovanny Beltran, js13kgames Winner

js13kgames, a JavaScript coding competition for HTML5 game developers, announced this year’s winners a few weeks ago. Today we have an interview with Giovanny Beltran, winner of many categories at js13kgames, and one of the best entries in this year’s ... more


Monday, 19 September, 2016 UTC

A Web for Everyone: Interviews with Web Practitioners — David Walsh

A Web for Everyone: Interviews with Web Practitioners — David Walsh

We’ve heard now from Rachel Andrew, Chris Coyier, and Belén Albeza. Each of these great web developers offered ideas for accomplishing cross-browser compatibility. The fourth interviewee in our web-compatibility interview series brings some new tools ... more


Wednesday, 14 September, 2016 UTC

Introducing debugger.html

Introducing debugger.html

debugger.html is a modern JavaScript debugger from Mozilla, built as a web application with React and Redux. This project was started early this year in an effort to replace the current debugger within the Firefox Developer Tools. Also, we wanted to ... more


Friday, 26 August, 2016 UTC

View Source Conference Berlin 2016

View Source Conference Berlin 2016

An overview View Source is an intimate, single-track conference for web developers, now in its second year. View Source 2016 takes place in Berlin, Germany, September 12-14, beginning with Ignite lightning talks on Monday evening, followed by two full ... more


Thursday, 25 August, 2016 UTC

A Web for Everyone: Interviews with Web Practitioners — Rachel Andrew

A Web for Everyone: Interviews with Web Practitioners — Rachel Andrew

A recent article on Mozilla Hacks, “Make the Web Work for Everyone,” explored challenges and opportunities in browser compatibility. In that post we urged developers to build cross-browser compatible web experiences in order to maximize exposure and ... more


Tuesday, 23 August, 2016 UTC

A few HTML tips

A few HTML tips

A while ago I wrote an article with some CSS tips, now it’s time to give some polish to our HTML! In this article I’ll share some tips and advice about HTML code. Some of this guidance will be best suited for beginners – how to properly build paragraphs, ... more


Wednesday, 17 August, 2016 UTC

Using Feature Queries in CSS

Using Feature Queries in CSS

There’s a tool in CSS that you might not have heard of yet. It’s powerful. It’s been there for a while. And it’ll likely become one of your favorite new things about CSS. Behold, the @supports rule. Also known as Feature Queries. With @supports , you ... more


Tuesday, 9 August, 2016 UTC

Developer Edition 50: Console, Memory Tool, Net Monitor and more

Developer Edition 50: Console, Memory Tool, Net Monitor and more

Firefox Developer Edition 50 is here. It has numerous improvements that will help you work with script-initiated network requests, tweak indexedDB data, and much more. It also introduces something special we’ve all been really wanting for a while, so ... more


Monday, 8 August, 2016 UTC

js13kGames: Code golf for game devs

js13kGames: Code golf for game devs

How much is 13 kB? These days a couple of kilobytes seem like a drop in the ocean. Rewind back to the dawn of video game history, however, and you’ll soon realise that early pioneers had to work with crazy limitations. The beloved Atari 2600, for example, ... more


Wednesday, 3 August, 2016 UTC

Animating like you just don’t care with Element.animate

Animating like you just don’t care with Element.animate

In Firefox 48 we’re shipping the Element.animate() API — a new way to programmatically animate DOM elements using JavaScript. Let’s pause for a second — “big deal”, you might say, or “what’s all the fuss about?” After all, there are already plenty of ... more


Wednesday, 6 July, 2016 UTC

Make the Web Work For Everyone

Make the Web Work For Everyone

Millions of websites have compatibility problems on one or more of the major browsers, leading to a poor user experience. The web developer community can fix this. The web has changed immensely in the past 20 years. In 1996 there were roughly a million ... more


Wednesday, 29 June, 2016 UTC

Web Font preloading for HTML5 games

Web Font preloading for HTML5 games

In game development there are two methods of rendering text : via bitmap fonts and vector fonts . Bitmap fonts are essentially a sprite sheet image that contains all the characters of a given font. The sprite sheet uses a regular font file (traditionally ... more


Friday, 17 June, 2016 UTC

Learning to code for the Web: The MDN Learning Area welcomes you!

Learning to code for the Web: The MDN Learning Area welcomes you!

As an aspiring developer or as a teacher looking to extend your knowledge of code, it can be difficult to know where to start with web technologies. In this blog post, we’ll be discussing why we have created the Mozilla Developer Network Learning Area ... more


Wednesday, 15 June, 2016 UTC

Developer Edition 49: Network Request Stack Traces and more

Developer Edition 49: Network Request Stack Traces and more

This week marks the release of Firefox Developer Edition 49! This post covers some of the big changes that landed in this release. Request stack traces in Network Monitor The Network Monitor now has a new “Cause” column that shows how a given network ... more


Tuesday, 7 June, 2016 UTC

Helping web developers with JavaScript errors

Helping web developers with JavaScript errors

Errors are one of the more frustrating things you encounter while programming. Those little messages in the console can ruin your entire afternoon, day, or week. When “undefined is not a function” appears yet again, it’s often time to get another coffee. ... more


Thursday, 2 June, 2016 UTC

Basics of building 3D games on the Web

Basics of building 3D games on the Web

You might think that 3D games are harder to develop than 2D because of the extra dimension you have to take into account, but it’s easier than you think. We’ve recently updated the Games section on MDN with a collection of tutorials covering 3D development, ... more


Wednesday, 18 May, 2016 UTC

CSS coding techniques

CSS coding techniques

Lately, we have seen a lot of people struggling with CSS, from beginners to seasoned developers. Some of them don’t like the way it works, and wonder if replacing CSS with a different language would be better—CSS processors emerged from this thinking. ... more


Thursday, 5 May, 2016 UTC

A Taste of JavaScript’s New Parallel Primitives

A Taste of JavaScript’s New Parallel Primitives

TL;DR – We’re extending JavaScript with a primitive API that lets programmers use multiple workers and shared memory to implement true parallel algorithms in JavaScript . Multicore computation JavaScript (JS) has grown up, and it works so well that virtually ... more


Thursday, 21 April, 2016 UTC

You might not need a CSS framework

You might not need a CSS framework

CSS frameworks have been around for a while and they have gotten extremely popular in the front-end development scene. These frameworks provide snippets of code you can just copy and paste in your website to craft the whole layout and UI. You have already ... more


Tuesday, 12 April, 2016 UTC

How to implement SRI in your build process

How to implement SRI in your build process

Imagine getting a call from a customer who says your website is serving malware. Your heart drops, you start sweating, and then the tweets start pouring in. Something is up. You find out your systems have not been tampered with. In fact, it was your ... more


Friday, 8 April, 2016 UTC

Record almost everything in the browser with MediaRecorder

Record almost everything in the browser with MediaRecorder

The MediaRecorder API lets you record media streams, i.e. moving images and audio. The result of these recordings can be, for example, an OGG file, like the ones you use to listen to music. Browser-wise, we can obtain streams in many ways. Let’s start ... more


Friday, 8 April, 2016 UTC

Mozilla ♥ Rails Girls Summer of Code

Mozilla ♥ Rails Girls Summer of Code

Mozilla is working hard to support and advocate for diversity in the tech industry. On that note, we are proud to announce our support and sponsorship of the Rails Girls Summer of Code program, 2016 edition! Rails Girls Summer of Code (RGSoC) is a fellowship ... more