Sign in

When we write tests for small individual components like a function or a file of the entire code base, that’s Unit Testing. For writing unit tests, we’ll pick up one functionality/logic and mock the bits on which that one functionality depends.

This might be sounding absurd.

However, read along, this…


setTimeout() method as the name suggests calls a function after the specified time.

Or does it?

But before anything else, syntax. Below is the syntax of setTimeout() which is evaluating the function and logs out ‘Hello!’ after 3 seconds(3000 milliseconds).

Syntax of setTimeout()

Now, let’s run a simple code and see how should…


Disclaimer: This is probably one of the most useless articles you will come across. This is basically me just explaining myself how to make a CSS button with a gradient border(more details below). If you want to understand that(or maybe want the code for it) feel free to go further.


Random Simpsons meme, because Simpsons are #1 (Always!!!!)

“Guys, I want #DevFestKol to trend on Twitter,” said Shuvam. You may say that’s a little too much to ask, maybe, but that was not the reply of the outreach team of DevFest Kolkata’19. The origin of this story goes long back.

It all started when a month ago (fine…


Fresh into college, fresh into the club and it begins with #IndiaBuildsActions!

For a beginner like me, “Intents” meant Purpose, “fulfilment” was not more than an achievement of something but I came to know there is much more to words than just dictionary meanings.

With just the basic knowledge in…

Anjali

Don't play with Jazbaat, play with JavaScript instead. It's actually fun. If you already follow me, please don't unfollow me because of this bio.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store