raturialok.hashnode.devHow the Host property Works in Angular @ComponentIn Angular, the host property is used to bind properties, attributes, and events to the component’s host element, which is the DOM element matching the component’s selector. In Angular, the component’s selector is visible in the DOM tree. As shown in...Oct 5, 2024·3 min read
raturialok.hashnode.devUnderstanding JavaScript Callback FunctionsCallback functions are one of the main pillars that support the asynchronous nature of JavaScript. With callbacks, developers can specify a piece of code to execute when a particular event occurs. Besides events, callback functions are crucial for ha...Sep 26, 2024·6 min read
raturialok.hashnode.devUnderstanding Call, Apply, and Bind Methods in JavaScriptBefore understanding the call, apply, and bind methods, it is essential to understand the concept of the this keyword in JavaScript. The this keyword refers to the context in which a function is executing. Its value is not fixed and depends on how a ...Sep 22, 2024·4 min read
raturialok.hashnode.devIntroduction to GRID Layout in CSSCSS Grid Layout simplifies the creation of complex layouts by organizing the layout into rows and columns, making it easier to design web pages. Similar to Flexbox, Grid allows us to create layouts with greater consistency and ease by dividing the pa...Sep 17, 2024·7 min read