background preloader


Facebook Twitter

How to Create a Vertical Timeline with CSS and JavaScript. Vertical Timeline tutorial.

How to Create a Vertical Timeline with CSS and JavaScript

Internet users love graphics that make it easier to digest information. Even more, they love interactive graphics that allow them to participate above and beyond just reading. Is it any wonder that vertical timelines do very well as a form of online content? A vertical timeline can tell the story of your company and how it came to be. It could reveal the evolution of a product or service, discuss the history of a particular industry, or even walk your customers through the process by which you will provide your services. Start with the HTML The HTML mark-up on your web page provides the content for your timeline.

The example above allows for a single event on your timeline. Style Your Timeline You could style your timeline using standard HTML mark-up, but that is extremely time-consuming and rather redundant. You can style the elements of your timeline in whatever way you like.


Learning JavaScript Native Functions and How to Use Them. # Introduction JavaScript is becoming the most popular programming language though it is very misunderstood.

Learning JavaScript Native Functions and How to Use Them

Tutoriel Vidéo Javascript ECMAScript 2015. L'ECMAScript est un standard édité par Ecma International qui permet de définir le fonctionnement de différents langages de programmation dont le JavaScript.

Tutoriel Vidéo Javascript ECMAScript 2015

Une nouvelle version de ce standard a été publié en Juin 2015 : ECMAScript® 2015. Cette nouvelle version permet de combler les lacunes des versions précédentes et propose de nouvelles règles qui devront être implémentées par les langages de programmations. Un petit peu d'histoire Pour comprendre ce qu'est l'ECMAScript je vous propose de revenir dans le passé, vers 1995. A cette époque il y a 2 navigateurs principaux qui se battent pour dominer le marché : Netscape par Netscape (original hein) et Internet Explorer de Microsoft. Netscape décide de mettre en place un langage côté client sur son navigateur. En réponse à cela, Microsoft décide aussi de créer un langage côté client, le JScript, qui sera mis en place dans la version 3.0 d'Internet Explorer. JavaScript Rounding Recipes. Very often calculations in JavaScript produce results that don’t quite fall within the ranges we want, or generate numbers that need to be “cleaned up” before use.

JavaScript Rounding Recipes

Exactly what happens to those numbers - rounding up or down, set within a range, or being “clipped” to a certain number of decimal places - depends on what you want to use them for. Why Round Numbers? One of the curious aspects of JavaScript is that it doesn’t actually store integers: instead, it thinks of numbers as floating point binaries. This, combined with the fact that many fractions can’t be expressed in a finite number of decimal places, means that JavaScript can create results like the following (using the console): GitHub - hcodes/show-js-error: Show a message about a js error in any browser.


State of the Art JavaScript in 2016 — JavaScript and Opinions. The Deep Roots of Javascript Fatigue. I recently jumped back into frontend development for the first time in months, and I was immediately struck by one thing: everything had changed.

The Deep Roots of Javascript Fatigue

When I was more active in the frontend community, the changes seemed minor. We’d occasionally make switches in packaging (RequireJS → Browserify), or frameworks (Backbone → Components). And sometimes we’d take advantage of new Node/v8 features. But for the most part, the updates were all incremental. State of the Art JavaScript in 2016 — JavaScript and Opinions. Promise-Based Modules. What we're going to learn In this snippet, we're going to learn how to use ES2015 Promises in conjunction with modular code.

Promise-Based Modules

We'll learn how to easily get responses and errors back to the client from nested functions, making our application more predictable and user friendly. Released as part of the ES2015 standard, one of the more interesting features to join the JavaScript language recently is the Promise. In an effort to make asynchronous code a little more friendly to developers, Promises exist to better control the flow of an asynchronous function’s response and error handling. Learn with Me - Typescript: A Study in Types. Download - 1.7 KB Introduction In the last few year as the technology advanced, the expectation of the users increased the need of web applications with rich user experience.

Learn with Me - Typescript: A Study in Types

To supply this demand, javascript development has been increased exponentially. To be frank, javascript was not designed to support modern days' large scale and complex development. Hence, it comes with an expensive maintainability issue. Background Javascript, was originally created as a scripting language, but still it is versatile to adopt the object oriented programming. Static typing Classes Interfaces Generics Modules. Understanding JavaScript's Map() JavaScript’s map function is extremely useful, but it can also be a bit confusing when you’re just starting out with programming.

Understanding JavaScript's Map()

So here’s a breakdown of what it does exactly, and how to use it. Note: if you need to catch up on JavaScript itself, I suggest you check out our JavaScript Primer first. The Definition First, let’s start with the Mozilla Developer Network’s own definition: The map() method creates a new array with the results of calling a provided function on every element in this array.