Hello! I am glad you are here.

Full Stack designer & developer

  • UX Design
  • Adobe
  • Agile Scrum
  • HTML
  • CSS
  • JavaScript / TypeScript/ Node
  • Angular


Private JavaScript Methods

Sometimes, we need methods in our constructor that do some work only in the constructor. There might be some internal maintenance that needs to be done. We might simply want to protect some data, etc. We declare a private method by using an inner function. If we try to run

More »

JavaScript Setters and Getters

In classical OOP languages, getters and setters seem to get set up as a normal way of creating classes. In JavaScript, we have to be intentional in setting them up. What we have to do is create a constructor and within the constructor, we create functions that perform the getting

More »

JavaScript Instances

In the last post, I briefly discussed JS constructors. In that post, I showed how to create an instance of a constructor with the new operator. Our constructor was rather ‘blah’. So let’s see how we can access constructor instance properties and methods. The aforementioned constructor code gives us a

More »

JavaScript Constructors

If you come from a classical object-oriented language, then constructors are second nature to you. They are a recent phenomenon in JS. If you utilize something like TypeScript, which is a superset of JS, then you utilize constructors all the time. In vanilla JS, constructors are simply function objects. This

More »

Angular Structural Directives

Angular structural directives allow us to change the DOM structure (hence the name). In Angular, we use the *ngIf as a structural directive. Basically, if it evaluates to ‘true’, then the element is inserted into the DOM. If it is ‘false’, the element is removed. The above div would be

More »

Angular Directives

Angular directives allow the creation of DOM elements. We can also change the structure and behavior of the elements. There are three types of Angular directives… Components – directives that have templates. Attribute – directives that change appearance and behavior or elements. Structural – directives that change the DOM layout.

More »



Skip to content