Web Dev Roadmap for Beginners (Free!): 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 ➜ bit.ly/3nGHmNn
JavaScript for Beginners: Full Course (8 hours): • JavaScript Full Course...
Make a Like Button with JavaScript
🔗 Source Code: github.com/gitdagray/save_fav...
(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: / yesdavidgray
LinkedIn: / davidagray
Blog: yesdavidgray.com
Reddit: / 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
2 июл 2024