Number().toFixed() Rounding Errors: Broken But Fixable

This article was originally published on David Kaye. I found a rounding bug in Number().toFixed() in every JavaScript environment I’ve tried (Chrome, Firefox, Internet Explorer, Brave, and Node.js). The fix is surprisingly simple. Read on… Warm Up I found this version of the rounding bug in toFixed() while revising a number-formatting function that performs the […]

Building a Todo App with Angular CLI

This article on building a todo app with Angular CLI is the first in a four-part series on how to write a todo application in Angular 2: Part 0— The Ultimate Angular CLI Reference Guide Part 1— Getting our first version of the Todo application up and running Part 2— Creating separate components to display […]

Uncode WordPress Theme: Share Your Creativity with the World

This article was created in partnership with BAWMedia. Thank you for supporting the partners who make SitePoint possible. The world we live in is a visual world. We process information contained in images faster than we do when reading a text. Creatives' websites largely rely on stunning visual experiences that can command attention. These visuals […]

Build a Preact App with Authentication

This article was originally published on OKTA Blog. Thank you for supporting the partners who make SitePoint possible. React is a fast, and lightweight library, which has led to fast adoption across the SPA (single-page app) ecosystem. Preact is an even lighter-and-faster alternative to React, weighing in at a measly 3kb! For less complex applications, […]

React Video Player

Streaming entertainment is a massive interest of mine as both a consumer and web developer.  My love for streaming entertainment dates back to the early days of RealPlayer and the misery of a million codecs.  Fast forward to today and I’m working a lot with ReactJS, as well as the dozens of streaming technologies like […]

React vs Angular: An In-depth Comparison

Should I choose Angular, or React? Today’s bipolar landscape of JavaScript frameworks has left many of developers struggling to pick a side in this debate. Whether you’re a newcomer trying to figure out where to start, a freelancer picking a framework for your next project or an enterprise-grade architect planning a strategic vision for your […]

Quickly Create Simple Yet Powerful Angular Forms

Forms are an essential part of many web applications, being the most common way to enter and edit text-based data. Front-end JavaScript frameworks such as Angular, often have their own idiomatic ways of creating and validating forms that you need to get to grips with to be productive. Angular allows you to streamline this common […]

Advanced Timing & Easing for Web Animations with Tumult Hype

This article was sponsored by Tumult. Thank you for supporting the partners who make SitePoint possible. Animation can roughly be defined as showing successive images or frames to give the illusion of smooth changes. Instead of producing every frame by hand, modern web animation tools like Tumult Hype let an animator create keyframes (generally start […]

AngularJS to Angular – a brief history with some tips to get started!

In this article, I’m going to introduce the core libraries of Angular and help you to get started with the framework itself. Are you familiar with AngularJS? Have you ever tried out Angular 2 or would you like to pick up one of the top front-end frameworks? This is the perfect time to dive into […]

1 2 3 21