Code Blackjack with JavaScript HTML CSS

Learn Blackjack Video Source & Info:

Learn how to create a game of black jack using javascript html and css for beginners!

Code: https://github.com/ImKennyYip/black-jack
Demo: https://imkennyyip.github.io/black-jack/

Source: YouTube

Share this video:
Code Blackjack with JavaScript HTML CSS

10 thoughts on “Code Blackjack with JavaScript HTML CSS

  1. Check out the playlist of web project tutorials here!

    https://www.youtube.com/playlist?list=PLnKe36F30Y4bLhA-st9sC4ZthyV7nsL2Q

    Got a tutorial suggestion? Let me know down below!

  2. I'm pretty sure the dealer starts with one card up and the other one down (2 cards in total)

  3. is there a way to only have 2 cards for the dealer one being hidden?
    also a function where the dealer can not draw a card if they have 17?

  4. I have watched so many JS Blackjack tutorials. You are doing this a very simple way. Very helpful thanks!.

  5. Im not sure i understand why the need for swapping in the shuffling? Could anyone help me understand that

  6. I am having issues with this part:

    cardImg.src = "./cards/" + card + ".png";

    Can't seem to populate the page with more cards. They appear as broken links. I have the cards folder in my project folder, but the HTML is being populated with broken images. I tried a bunch of different paths/formatting. Wonder what the issue is, most likely a formatting error? in the console I get "file not found" and the broken path. I do have the initial hidden card we created in our HTML though. I'm using the same path so not sure what's wrong.

    Also thanks for these tutorials! Super helpful!

  7. Thank you so much. Your way of explaining is excellent and clear. Pls make many tutorials, I will spread the voice. Very good!!!!

Comments are closed.