Lakshya Thakur

Lakshya Thakur @lakbychance

About: I like to have creative insights towards my subjects and apply my engineering skills for problem solving.

Location:
Gurgaon,India
Joined:
Apr 14, 2020

Lakshya Thakur
articles - 21 total

A wild handleEvent appeared 😮 !!!

Let's say, we have a DOM element by the name of element and we want to add event listeners to it. How...

Learn More 15 1Jul 11 '21

Implementing String repeat() function in JS

As per MDN, The repeat() method constructs and returns a new string which contains the specified...

Learn More 3 0Jul 9 '21

Implementing the DOM contains() method

As per MDN, The Node.contains() method returns a Boolean value indicating whether a node is a...

Learn More 4 0Jul 7 '21

Determine if a BST is valid or not

This article is the first one in the Random DS/Algo series. The purpose of this series is to just act...

Learn More 5 0Jul 5 '21

Implementing Pagination feature in Vanilla JS

Today we will implement a Paginator class which will have the following API :- //...

Learn More 25 3Jul 4 '21

Implementing a Star Rating component in Vanilla JS

Star Rating/Review UI is a common sighting across different sites on the Internet. Today, we will...

Learn More 15 0Jul 2 '21

Making a basic deepCopy function in JS

Important - If planning to read this article, do it completely as there are some corrections...

Learn More 26 7Jun 14 '21

Bare minimum Infinite Scroll UI

Infinite scrolling ui is implemented in many web apps today. So in an attempt to explore the same, I...

Learn More 55 9Feb 2 '21

JavaScript Engine optimization during closure

TIL that Javascript engines optimize out unused variables available in outer lexical environment if t...

Learn More 8 2Jan 8 '21

Singly Linked List implementation in JS + DOM visualization

My goto programming language solving an algorithmic problem has always been C++. But few days ago I...

Learn More 3 0Dec 31 '20

Crazy Tabbing !!

This video is for all the web devs/enthusiasts who might be interested in knowing how basic keybo...

Learn More 4 0Dec 29 '20

Building Animeccha - Epilogue

What I built A web app where a user can scroll through some of my favorite anime scenes of...

Learn More 11 2Dec 24 '20

Building Animeccha - Going live on App Platform 🚀

Quick recap - App is deployed on Netlify but the assets required are on DigitalOcean Spaces which hel...

Learn More 5 4Dec 23 '20

Building Animeccha - Using DigitalOcean Spaces

Quick recap - App works in localhost, App deployed to Netlify but now App needs to be deployed on the...

Learn More 4 0Dec 22 '20

Building Animeccha - Going live but not really !!!

So continuing from my previous post, the app was ready enough to test on the Internet and I hooked th...

Learn More 2 0Dec 21 '20

Building Animeccha - Prologue

It all started when I saw the DigitalOcean App Platform Hackathon Banner pop up when I open DEV Commu...

Learn More 6 2Dec 21 '20

JS Spec debunking for toPrimitive on an object

Let's say we have an object by the variable name of obj and ToPrimitive abstract method has been call...

Learn More 6 3Dec 1 '20

Creating a custom hook for dual animation state

So recently I created a custom hook called useAnimationState to return me either of the two states -...

Learn More 12 0Nov 21 '20

Creating a custom date-time picker using Angular Material

My requirement was very specific so I am going to talk in terms of mm/dd/yyyy, hh:mm:ss input field f...

Learn More 1 0Nov 19 '20

Solve CRA 4.0 slow recompile time

Slow recompile time after upgrading to create-react-app 4.0 ? Well there will be a fix for it availa...

Learn More 6 0Nov 16 '20

Tee or Tree fest ? - Hacktober dilemma

My Hacktoberfest experience (Powered by gifs) Well, this was my first Hacktoberfest contes...

Learn More 12 3Oct 20 '20