Let’s see other structures and details on what the world of regular expressions is. Special characters, greedy searches and back references. […]
Easy way to show/hide a password field in Angular
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 […]
Javascript exercise of 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 […]
Native lazy loading for images
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 […]
Typescript Component decorator (like Angular)
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 […]