One of the most useful features that many languages offer is the possibility of sorting arrays and lists of elements in the most disparate ways. Let’s create our array sorting functions.Unlike more typed languages, in the case of Javascript arrays can have profoundly different types of elements, including primitives and […]
FE based
In the FE based category you will be able to find ways to build complex and easy interfaces, with a view to being user-friendly and dynamic. Mostly javascript will be used on which various frameworks are built such as vue, angular and the super set of javascript: typescript.
Welcome, intrepid developers, to your launchpad for mastering the mighty Angular framework! Whether you’re a seasoned JavaScript adventurer or a curious newcomer gazing at the vast cosmos of web development, this series of tutorials is your rocket fuel to propel you forward.
Angular, crafted by the brilliant minds at Google, is a TypeScript-based framework that empowers you to build dynamic applications with elegance and efficiency. From crafting interactive user interfaces to seamlessly managing data flows, Angular provides a robust structure and a treasure trove of tools to navigate the ever-evolving web landscape.
Angular cascading recursive selects from tree nodes
Today we will see recursive selects from tree nodes.Nothing proves the saying “if you want something done right, do it yourself” better than recursion.Recursion is one of my favorite topics. When a function is recursive, it finds in itself the strength to solve a task. We can also see recursion […]
Multiple nested guards on one route
We may need multiple guards on one route in some situations. It may happen that sometimes a shared guard is needed between several components which however require further and different verifications.A possible solution in those cases may be to insert “matryoshka” Guards, making the focus of the work on one […]
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 […]