Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap

Make a like button with Javascript and learn how to like images & posts with Javascript like you see in Instagram and other social media platforms. This JavaScript tutorial could be the start of an Instagram clone or be applied to any app that needs to mark favorite contacts, images, and more.

Subscribe https://bit.ly/3nGHmNn

JavaScript for Beginners: Full Course (8 hours): https://youtu.be/EfAl9bwzVZk

Make a Like Button with JavaScript

Source Code: https://github.com/gitdagray/save_favorites

(0:00) Intro
(0:32) HTML Structure
(2:43) Adding SVGs for Like and Dislike
(3:45) Starting the JavaScript
(5:27) Getting Data from an API
(7:24) Rendering the App with JS
(16:17) Adding Random Images
(19:45) Add and Remove Favorites
(26:58) CSS Styles

Follow Me:
Twitter: https://twitter.com/yesdavidgray
LinkedIn: https://www.linkedin.com/in/davidagray/
Blog: https://yesdavidgray.com
Reddit: https://www.reddit.com/user/DaveOnEleven

Was this tutorial about how to make a like button with JavaScript helpful? If so, please share. Let me know your thoughts in the comments.

#like #button #javascript