Photo by solmaz hatamian on Unsplash
  1. Boolean: is the simplest datatype, it is used to represent a logical value and can have only 2 values: true or false. It is the same as JavaScript boolean primitive type.
    let isBoolean: boolean = true;
    let isLoading: boolean = false;
  2. Number: like in JavaScript, all numbers in TypeScript are floating point values. In addition to hexadecimal and decimal literals, TypeScript also supports binary and octal literals introduced in ECMAScript 2015.
    let…


Logo dell’Organizzazione Mondiale della Sanità
Logo dell’Organizzazione Mondiale della Sanità
Logo dell’Organizzazione Mondiale della Sanità

The Trick



Let’s share environment variables between Front End and Back end and pass them to and Angular application.

  • for example, I want to develop an application or a module as generalist as possible to be reusable in other projects,
  • or maybe I have some sensible details that I want to keep as difficult to find as I can, from the final…


Let’s install different Angular releases in our local machine (works with AngularJS, Angular 2, Angular 4, Angular 5, Angular 6, Angular 7)

  • your client, or your company, does not know that there is a newer and more secure Angular version already released or that this is going to be released soon;
  • maybe the company is concerned that some libraries or plugins that they are currently using, will not work with the updated Angular version;
  • the clients you are working with have not planned yet the most recent Angular update…


detect touch devices with only CSS
detect touch devices with only CSS

Interaction Media Features: Hover


Drop-down Arrow for Chrome, Firefox, Opera, Internet Explorer 10+

Riccardo Andreatta

Front End Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store