---
title: "Discussion on \"Double-click to like Instagram effect in JavaScript ❤️\" | Hashnode"
description: "Discussion on \"Double-click to like Instagram effect in JavaScript ❤️\". Today we are going to recreate the famous Instagram double-tap to like effect!\nAnd the surprise, we only need 12 lines of JavaScript!\nFor this effect, we will bind a double-click handler to our image show the heart animation plus the counter below th..."
url: "https://hashnode.com/posts/double-click-to-like-instagram-effect-in-javascript/5f5091b898ae9829ac3daa9b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Double-click to like Instagram effect in JavaScript ❤️](https://h.daily-dev-tips.com/double-click-to-like-instagram-effect-in-javascript?utm_source=hashnode&utm_medium=feed)

Today we are going to recreate the famous Instagram double-tap to like effect! And the surprise, we only need 12 lines of JavaScript! For this effect, we will bind a double-click handler to our image show the heart animation plus the counter below th...

Sep 3, 2020 · 3 min read · h.daily-dev-tips.com  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#instagram](https://hashnode.com/tag/instagram)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#ux](https://hashnode.com/tag/ux)

## Written by

[Chris Bongers](https://hashnode.com/@dailydevtips)

@dailydevtips · Cape Town, SA

  
[View profile](https://hashnode.com/@dailydevtips)

Looking to get into development? As a full-stack developer I guide you on this journey and give you bite sized tips every single day 👊

I'm a full-stack developer from South Africa 🇿🇦. I love writing about JavaScript, HTML and CSS.

## Responses 3

Markdown supported · ⌘↵ to post

[Tapas Adhikary](https://hashnode.com/@atapas)

[Sep 3, 2020](https://hashnode.com/posts/double-click-to-like-instagram-effect-in-javascript/5f5091b898ae9829ac3daa9b/comment/5f50c25f98ae9829ac3dadbe)

Super Cool..

[Chris Bongers](https://hashnode.com/@dailydevtips)

[Sep 3, 2020](https://hashnode.com/posts/double-click-to-like-instagram-effect-in-javascript/5f5091b898ae9829ac3daa9b/comment/5f50c25f98ae9829ac3dadbe#reply-5f50d225c48c6b29cd2ed509)

Thank you Tapas! (Your name always makes me hungry)

[Tapas Adhikary](https://hashnode.com/@atapas)

[Sep 3, 2020](https://hashnode.com/posts/double-click-to-like-instagram-effect-in-javascript/5f5091b898ae9829ac3daa9b/comment/5f50c25f98ae9829ac3dadbe#reply-5f50d512c48c6b29cd2ed53e)

[Chris Bongers](https://hashnode.com/@dailydevtips) , I can understand 😃. I keep hearing this from friends overseas.. too late to change it.. hahaha..

[Chris Bongers](https://hashnode.com/@dailydevtips)

[Sep 3, 2020](https://hashnode.com/posts/double-click-to-like-instagram-effect-in-javascript/5f5091b898ae9829ac3daa9b/comment/5f50c25f98ae9829ac3dadbe#reply-5f50e0b9c48c6b29cd2ed68c)

[Tapas Adhikary](https://hashnode.com/@atapas) Don't change it, it's amazing! 🔥

[Sunrit Jana](https://hashnode.com/@janaSunrise)

[Sep 3, 2020](https://hashnode.com/posts/double-click-to-like-instagram-effect-in-javascript/5f5091b898ae9829ac3daa9b/comment/5f50a357c48c6b29cd2ed237)

awesome article! Useful for my portfolio blogs!

[Chris Bongers](https://hashnode.com/@dailydevtips)

[Sep 3, 2020](https://hashnode.com/posts/double-click-to-like-instagram-effect-in-javascript/5f5091b898ae9829ac3daa9b/comment/5f50a357c48c6b29cd2ed237#reply-5f50a5a298ae9829ac3dabb6)

Thanks Sunrit, glad you like it!

[Syed Fazle Rahman](https://hashnode.com/@fazlerocks)

[Sep 3, 2020](https://hashnode.com/posts/double-click-to-like-instagram-effect-in-javascript/5f5091b898ae9829ac3daa9b/comment/5f50922ec48c6b29cd2ed149)

This is ubercool, [Chris Bongers](https://hashnode.com/@dailydevtips). 💙

[Chris Bongers](https://hashnode.com/@dailydevtips)

[Sep 3, 2020](https://hashnode.com/posts/double-click-to-like-instagram-effect-in-javascript/5f5091b898ae9829ac3daa9b/comment/5f50922ec48c6b29cd2ed149#reply-5f50a630c48c6b29cd2ed262)

Thank you Syed! ❤️
