Getting rid of duplicate values in a list/array is quite a common software development task. I remember in the past when I first faced this problem it was not very straight forward to do it in vanilla JS. You would think that such a common operation would be handled with out of the box method […]
Category Archives: javascript
Tilting images with phone’s gyroscope the javascript way
Have you ever seen website UI reacting to device’s orientation? If not then maybe it is time to browse a little, there are some really cool effects that you can achieve by triggering visual changes with device motion. Let’s dive into a case of making images tilt while we angle our phone. Detecting mobile device […]