smooth scroll

How To Make Smooth Scrolling [4 different ways]

ooth scrolling is a popular scrolling behavior in most of the one page websites like landing pages. In this article I am gonna show you 4 different ways to create this effect. One way using only CSS, while the others using javascript.

remove duplicates

JS Remove Duplicates The Shortest Way [SOLVED]

One of the coding interview questions is how to remove duplicates from an array. Of course as for any problem, it has more than one approach in javascript. One of these approaches is to benefit from: Set Object Spread Operator Here is one of the possible approaches  👇