Skip to content

Instantly share code, notes, and snippets.

Always Curious!

That Js Dev nishantmendiratta

Always Curious!
View GitHub Profile
View Be a helping

Respect what your parent/partner is doing for you.


It's easy to say that the circuit breaker is not that bad. Now you have more time to spend with family but are you spending time or passing time? — Think again.

It’s good that you are trying your hands at cooking. But, if you are not cleaning up the kitchen afterward my friend you are putting more work on your peers.

This doodle is the representation of what’s happing in 90% of Indian homes. “Male” members are enjoying and living their lives like a king while women are spending most of their valuable time in the kitchen. Maybe you have seen a viral quote floating around these days “It’s quarantine, not ‘who is more productive competition’” that’s funny but on a serious note, it’s not a holiday either. So, stop fucking commanding your partners/parents and start helping them out.

nishantmendiratta / How to Actually Get Sh!t
Last active Apr 5, 2020
✔️ How to Actually Get Sh!t Done
View How to Actually Get Sh!t

Have you ever wondered that I could have achieved more today but between work (or homework), working out and other necessary rituals the time passed quickly?

"If you see distraction externally, you end up creating an internally distracted state.” – Tim Ferriss

One of the solutions is to block out at least 60 minutes in the morning before checking e-mail to work on your #1 most important/uncomfortable to-do. If you want to learn more here is the Tim's detailed morning routine.

Rise of SonOfAnton.Ai


nishantmendiratta / Time To Get Back To The Basics - How Browser Reads HTML, CSS, and
Last active Mar 1, 2020
📖 Getting Back To The Basics - How Browser Reads HTML, CSS, and JavaScript?
View Time To Get Back To The Basics - How Browser Reads HTML, CSS, and

What happens when a browser loads a website?

  1. It fetches the HTML page (index.html)
  2. Begin parsing the HTML
  3. The parser encounters a <script> tag referencing an external script file.
  4. The browser requests the script file. Meanwhile, the parser blocks and stops parsing the other HTML on your page.
  5. After some time the script is downloaded and subsequently executed.
  6. The parser continues parsing the rest of the HTML document.

(Step 4) It causes a bad user experience. Your website basically stops loading until you've downloaded all scripts. If there's one thing that users hate it's waiting for a website to load.

View Made To


At my current workplace every quarter we undergo a detailed Story Mapping Session which allows us to have a birds-eye view of the problem.

A brief introduction of Story Mapping: It is an engaging activity where all participants are involved in the process of building the product backlog on a wall, versus writing a dull 100-page requirement document.

The session is all about brainstorming and capturing requirements. However, it requires certain tools and this post is dedicated to one of the most important tools we need for this session i.e, Sticky Note.


nishantmendiratta / sum(1)(2)(3)(4)..( n)() Frontend Javascript Interview
Last active Jan 28, 2020
sum(1)(2)(3)(4)..( n)() Frontend Javascript Interview Question
View sum(1)(2)(3)(4)..( n)() Frontend Javascript Interview

Visit Akshay Saini's YT channel for full video tutorial.

Can you write code for this function: sum(a)(b)(c)....( n)(). This should return the sum of all the numbers a+b+c+..+n.

// Functions in javascripts are First Class Functions
// Functions are like objects
nishantmendiratta / 24 uncomfortable things which are
Last active Jan 22, 2020
24 uncomfortable things which are tough-but-worthwhile
View 24 uncomfortable things which are

I've curated here 24 hard things that could payoff forever.

Pinned this to my twitter account as well @thatjsdev

That Javascript Dev  Startups  Money   Books on Twitter   Hard things that could payoff forever  Adapt these life-changing tweaks and lead a better life  It’s not easy  but it’s worth the effort  The list has been aggregated from bu (2)