catch errors in async/await like a pro
The main reason of using async await is - async await makes our code look like synchronous 🐼 - clean code 🧹 It definitely makes our code look synchronous. But does it really make our code clean? 🤔 Consider bellow code snippet where we have multiple try catch block with await functionality.
Interviewer: Move the div to the right in X time with Y FPS
UnAccademy Senior Front End Developer Interview Experience — I faced this question in a front end interview, this questions was followed by multiple sub questions and this was the only questions interviewer asked. Although I got stuck in last part and did not make it to the next round. …
Stop Using Margin in Flexbox, Use Gap Instead
Here’s why you should use Gap in Flexbox instead of Margin. — Hello World! While building web applications, every one of us must have encountered a scenario where we have to add some spacing b.w. flex-box items. Let’s understand this by an example. Suppose we have this condensed layout.
Interviewer: Square each digit of number without using any string function
How to get rid of social media addiction
Now days there are many applications out there which are like toxins to our brain. And even knowing this fact we constantly keep using them because they give us sense of pleasure. Here I am listing few ways which helped me to get rid of social media addiction + addiction…