How to Update Node.js to Latest Version
Node.js is an open-source JavaScript runtime environment. Since Node.js has an active community of users, minor updates of the software come…
How to build dynamic theme with CSS Variables ?
The above gif is the challenge we are going to conquer. Main tasks are: Have two squares, one reflecting primary…
What are the differences between npm and npx ?
What is NPM? NPM stands for Node Package Manager. It comes pre-installed with Node.js. NPM is used to install Node.js…
How to emit an event from parent to child component?
Usually we use @Output() and EventEmitter (from Angular/core) to emit an event to parent component. @Output() addTab = new EventEmitter<any>(); ...…
How to change (& disable default outline) border color on focus?
By clicking inside the input field or focus on the input field, how to change the border color? When the…
‘extend’ VS ‘implements’ in TypeScript
What is the difference between extends and implements ? class Media { format: string; } class Video extends Media {} class Image implements…
Using an SVG sprite icon system in Angular
I used to work with icon-fonts, much time. Lots of projects ( Site or applications) really need a system for…
Javascript: difference between Object & JSON
Many folks are confused about the difference between JSON and object literal because they have very similar syntax. Object literal…
How to use debounceTime in angular ?
debounceTime delays the values emitted by a source for the given due time. If within this time a new value arrives,…
Classes vs Interfaces in TypeScript
Classes and interfaces are powerful structures that facilitate not just object-oriented programming but also type-checking in TypeScript. A class is…





