How to Add a Like or Dislike Button to Your Websites using HTML, CSS & JavaScript

Sdílet
Vložit
  • čas přidán 26. 08. 2024
  • VIEW THE SOURCE CODE:
    dcode.domenade...
    Learn how to create a like and dislike button using only HTML, CSS & JavaScript in this tutorial.
    This is great for when you want to give your website users the ability to rate something such as a post, image or video.
    Google Material Icons:
    fonts.google.c...
    🏫 My Udemy Courses - www.udemy.com/...
    🎨 Download my VS Code theme - marketplace.vi...
    💜 Join my Discord Server - / discord
    🐦 Find me on Twitter - / dcodeyt
    💸 Support me on Patreon - / dcode
    📰 Follow me on DEV Community - dev.to/dcodeyt
    📹 Join this channel to get access to perks - / @dcode-software
    If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
    #dcode #web #javascript

Komentáře • 13

  • @BMikel
    @BMikel Před rokem +5

    Great content. Could you please create a tutorial on dynamic progress bar? For example, each time the user clicks "add to cart" button, subtotal is incrementing and progress bar is dynamically increasing. When subtotal reaches certain level (e.g. 100$) and progress bar reaches 100%, a message would show up: "Your order has now free shipping"

  • @rabatstadttv
    @rabatstadttv Před 5 měsíci

    I really love it, but I had a worst prediction, I thaught you are going to forget to handle the exception of multiple click on button, but that was handled so fast at the end of your video, thank you by the way, I reallly love this video, hope for your next videos. ;D

  • @nodis7562
    @nodis7562 Před rokem +1

    Excellent guide u made my life a whole lot easier thank you for that, also how to toggle off the like/ dislike function, let say if you liked and suddenly you change your mind to not like nor dislike, how can you toggle off the like without pressing the dislike?

  • @constantine9074
    @constantine9074 Před rokem +4

    First to commemt.. yeeeey

  • @Gubran_Hamid
    @Gubran_Hamid Před rokem +1

    You're exallent ❤

  • @2000pppp
    @2000pppp Před 3 měsíci

    i used your code its appear but i refresh the page start from zero count . not commulative

  • @mickmc1498
    @mickmc1498 Před 2 měsíci

    how does one find the youtube like url so i can add my auto clicker

  • @animal1853
    @animal1853 Před 9 měsíci

    Very good content. This coding was more easy understanding to my homework👍

  • @parsaliundilashvili8091
    @parsaliundilashvili8091 Před rokem +1

    great tutorial

  • @unknownuser9124
    @unknownuser9124 Před 8 měsíci +1

    will this work in realtime....if i launch the site and send it to my friend???

  • @advokats086
    @advokats086 Před rokem +3

    Second to commemt.. yeeeey

  • @2000pppp
    @2000pppp Před 3 měsíci

    hi i add it to my site but why its always not commulative?? every time start from zero

  • @apyxle
    @apyxle Před 8 měsíci

    wow great content