Easy way to show/hide a password field in Angular

angular show or hide a field

The most easy way to show/hide a password input field in Angular is to toggle a show/hide property. For both methods I will use the FontAwesome icon library but you are free to use the icons you prefer. You can choose between two simple recipes, one with click event and […]

Read More…

Javascript exercise of random cards

An exercise of javascript random cards

It happened to me once to complete an interesting and curious javascript exercise of random cards. The request was as follows: ” Having a deck of French cards (consisting of 52 cards), 10 cards must be drawn (using the Math.random function). Of those decide the suit and number of each […]

Read More…

Native lazy loading for images

html native lazy loading

An excellent new attribute has been added that will avoid a series of problems of loading. For example, you are in a scrolling SPA (Single Page Application) with many background images. The browser will gradually download them when it needs. I’m talking about native lazy loading for images and usually […]

Read More…

Typescript Component decorator (like Angular)

Typescript @Component decorator to Vue.js

Let’s first see what might be the reasons for wanting to include a Typescript Component decorator.In case you want to create a FE application developed in Typescript, often one of the main reasons is the fact that you come from applications in Angular, one of the most used frameworks when […]

Read More…