This is a simple web page that demonstrates an Instagram-like interface, including a post container with like and other icons. Double-clicking the post image changes the color of the like button to red and scales the image.
- HTML
- CSS
- JavaScript
- Lordicon (for SVG icons)
- Double-click the post image to like it.
- The like button changes color to red when liked.
- The like button resets to its original color when unliked.
Watch a video demonstration of the Instagram-like button by clicking the link below:
Follow these steps to get a copy of the project up and running on your local machine.
-
Clone this repository to your local machine.
git clone https://github.com/ravin972/InstaLoveBtn.git
-
Open the
index.html
file in your web browser to view the Instagram-like button.
- Double-click the post image to like it.
- The like button will turn red when liked, and return to its original color when unliked.
- Click on the other icons (comment, share, save) to simulate their functionality.
You can customize the post content and icons by changing the SVG icons' URLs or adding your own icons to the HTML code.
This project is licensed under the MIT License - see the LICENSE.md file for details.
- Lordicon for the SVG icons used in this project.
- Inspiration from the Instagram like feature.