Posts

Showing posts from April, 2025

ING Bank Client Interview Questions

1. Write a function to Filter, Sort and display final products with only relevant fields const products = [ {id:1, name: "Laptop", category: "electronics", price: 1000}, {id:2, name: "Shirt", category: "fashion", price: 1000}, {id:3, name: "Phone", category: "electronics", price: 1000}, {id:4, name: "Shoes", category: "fashion", price: 1000}, {id:5, name: "Headphones", category: "electronics", price: 1000}, ] Requirements:  i. Filter products by category (e.g., "electronics"). ii. Sort the filtered products by price in ascending order. iii. Make a new array with the final products to display only relevant details like "name" and "price". ------------------------------------------------------------------------------------------------------------------------- 2. Write a function to check whether an array contains any duplicate values. Return true if duplicates...

Smart working (client Pixel Pixel) vuejs

  1st round virtual wedsite (not in person) 1. key features in vue.js “Vue.js is known for being lightweight, approachable, and flexible. One of its key features is the reactive data binding system, which automatically updates the DOM when the data changes. It also has a component-based architecture that makes the UI modular and reusable. Vue’s single-file components are great because you can keep template, script, and style in one file. It also supports directives like v-if , v-for , and v-model for binding and conditionals, which makes templating very powerful. Another big advantage is Vue’s ecosystem—things like Vue Router for routing and Vuex or Pinia for state management. And it’s easy to integrate Vue into existing projects, which makes it very practical. 2.  Advantages and challenges in scss One of the big advantages of SCSS is that it makes CSS more powerful and maintainable. I really like features like variables for reusing values, nesting for cleaner structure, an...