Introduction

In this article, we’ll look at how to build a simple camera web app in HTML5, CSS3, and TypeScript. The full source code for the project is available here.

TypeScript’s powerful and rich feature set lends itself well to building custom applications from scratch, as the developer can start from a clean and stable environment like node, or as in our case, a modern browser API (both of which include high-performance implementations of a JavaScript engine).

Modern, standards-compliant browsers provide incredibly powerful and flexible APIs for working with the browser engine in various ways, which includes accessing various hardware devices (such as the camera).