JavaScript HTML Game from Scratch Blackjack

Learn how to create a web application from scratch. Apply JavaScript to HTML and CSS to build a Blackjack application

Instructed by Laurence Svekis

  • Includes all Standard Features
  • Get Unlimited access to all the courses
  • No Contract. Cancel Anytime
Starting in just $19 / mo see all plans
Subscribe Now
$ 299
Annual Subscription
  • One year Unlimited Access
  • Access to all courses
    You will be able to access all the courses from any category on the platform.
  • Learning paths access
  • Access Assignments & Projects
  • Access on Mobile, PC and Tablet
  • Pause & Resume Courses Anytime
  • Offline viewing
  • Instructor Support
  • Course Completion Certificates
  • Cancel Anytime
Subscribe Now
  • Use JavaScript with HTML and CSS together
  • Create a Blackjack game from scratch
  • Apply logic and build a web based game using HTML, CSS and JavaScript

JavaScript HTML Game from Scratch Blackjack

Learn how to create a web application from scratch.  Apply JavaScript to HTML and CSS to build a Blackjack application

Learn how to build a playable Blackjack web based application from scratch!

Using HTML, CSS and JavaScript this course will show you how to create a game from scratch.  One of the best ways to learn how to use JavaScript is to apply it to projects.  This course show you the steps and process from a blank file to building out the entire game.

This course is designed for beginners with some basic JavaScript, HTML and CSS experience required.  We will be reviewing only the JavaScript functionality required to build the game and demonstrating how to apply the code. This course does not cover HTML, CSS and JavaScript in their entirety but covers the use of them in relation to building a game.

Start with the basics of what is needed, apply logic and build out a working web application.  Test your application, tweak fine tune and get it working as designed.  

Start off building a deck of cards in JavaScript

Learn how to generate values of cards to use within your application.

Prepare to build the game.  Define the game rules and what you need in order to get that functionality.

Learn how to build a playing card visually with CSS

Create the game play using JavaScript applying logic

Add player actions and decision points

Create the logic for the dealer

Put it all together to play Blackjack

Source Code is included, step by step instruction to demonstration how to build an application. 

Taught by an instructor with over 18 years of web development experience.

I'm here to help you learn how to write JavaScript and ready to answer any questions you may have. 

This course showcases how to build a fun interactive application.  When you are ready

  • Basic HTML
  • Basic CSS
  • Basic JavaScript
  • Web developers
  • Web application developers
  • Anyone who wants to learn how to apply JavaScript
  • Anyone who wants to Build a web based game from scratch
View More...

Section 1 : Introduction to building a web based game

  • Lecture 1 :
  • JavaScript game introduction Preview
  • Lecture 2 :
  • Course intro Resources
  • Lecture 3 :
  • JavaScript Creating Random Numbers
  • Lecture 4 :
  • Creating a deck of Cards JavaScript
  • Lecture 5 :
  • Source Code loops and random
  • Lecture 6 :
  • Output special Characters JavaScript HTML CSS
  • Lecture 7 :
  • Adding Color to Characters ternary operator JavaScript
  • Lecture 8 :
  • Source Code
  • Lecture 9 :
  • How to generate a random card value using JavaScript
  • Lecture 10 :
  • Source Code for random card values

Section 2 : Creating the game

  • Lecture 1 :
  • Creating a game Start JavaScript
  • Lecture 2 :
  • Shuffle Array values random order JavaScript
  • Lecture 3 :
  • Deal the cards setup player and dealer JavaScript Loop
  • Lecture 4 :
  • Output Dealer and Players Hand of cards JavaScript
  • Lecture 5 :
  • Source Code deal out cards
  • Lecture 6 :
  • Template for a Card CSS
  • Lecture 7 :
  • Using CSS to create a playing card
  • Lecture 8 :
  • Output Styled Cards into Gameplay JavaScript CSS
  • Lecture 9 :
  • Source Code output styled cards
  • Lecture 10 :
  • CSS JavaScript Cover Dealer Card
  • Lecture 11 :
  • Adding gameplay elements HTML
  • Lecture 12 :
  • Applying Styling CSS to buttons and updating game elements
  • Lecture 13 :
  • Hide buttons start game JavaScript
  • Lecture 14 :
  • Source Code
  • Lecture 15 :
  • Create next options for player JavaScript
  • Lecture 16 :
  • Player actions JavaScript
  • Lecture 17 :
  • Create player values and interactions JavaScript
  • Lecture 18 :
  • Dealer AI JavaScript play the game
  • Lecture 19 :
  • Blackjack values and calculations JavaScript
  • Lecture 20 :
  • Determine who won adjust values JavaScript
  • Lecture 21 :
  • Working prototype source code

Section 3 : Code Tweaks and fine tuning JavaScript HTML CSS

  • Lecture 1 :
  • Gameplay adjustments and tweaks JavaScript
  • Lecture 2 :
  • User styling and dashboard design CSS HTML
  • Lecture 3 :
  • Setting click event JavaScript
  • Lecture 4 :
  • Limit min max for input field values JavaScript onchange event
  • Lecture 5 :
  • Fix button tweak double JavaScript
  • Lecture 6 :
  • Testing and tweaks to debug application JavaScript
  • Lecture 7 :
  • Final test run through of gameplay

Section 4 : Source Code review and exploration

  • Lecture 1 :
  • Game instructions and game play outline
  • Lecture 2 :
  • Clean up source code final tweaks JavaScript
  • Lecture 3 :
  • HTML source Code index.html
  • Lecture 4 :
  • CSS review code
  • Lecture 5 :
  • CSS Source Code style.css
  • Lecture 6 :
  • JavaScript code review part 1
  • Lecture 7 :
  • JavaScript Code review part 2
  • Lecture 8 :
  • JavaScript Source Code

Laurence Svekis,

Instructor, 18+yrs Web Experience I'm here to help you learn, achieve your dreams, come join me on this amazing adventure today Providing Web development courses and digital marketing strategy courses since 2002. Innovative technology expert with a wide range of real world experience. Providing Smart digital solutions online for both small and enterprise level businesses. "I have a passion for anything digital technology related, enjoy programming and the challenge of developing successful digital experiences. As an experienced developer, I created my first computer applications in 1990, and my first website in 1998. I enjoy sharing my knowledge with others and want to help you share in the wonderful opportunities that the internet provides." "Learning, understanding with a strong passion for education. The internet has provided us with new opportunities to expand and share knowledge." Want to learn more about becoming a web developer, do you want to experience the freedom that technology provides for us? Learn how tobring amazing things to life online. Technology connects us all in many ways. It opens up doors to those who embrace it and learn how to make those connections real. "My courses are designed to help you achieve your goals, learn and update skills" Background : An experienced web application developer, having worked on multiple enterprise level applications, hundreds of websites, business solutions and many unique and innovative web applications. Web application development areas of expertise include HTML, CSS, JavaScript, JQuery, Bootstrap, PHP and MySQL. Anything to do with web creation and digital experience. Passionate about everything to do with web application development, programming to online marketing with a strong focus on social media and SEO. "Understanding technology provides a means to better connect with users. It also opens so many doors. Knowledge is the key to success and I want to help you experience what technology has to offer. I'm passionate about web technologies, and look forward to sharing my knowledge and experience with you!"
View More...

Develop your own Chrome Extension &...

By : Harshit Srivastava

Lecture 15


The Extreme Web Development Course

By : Paul Carlo Tordecilla

Lecture 124


Superb Advance Javascript - Become ...

By : Paul Carlo Tordecilla

Lecture 28


Application development with IBM Wa...

By : Harshit Srivastava

Lecture 14


Learn React 16 and Redux by buildin...

By : Haider Malik

Lecture 74


jQuery for Beginner to Advanced: 12...

By : Sandip Bhattacharya

Lecture 15



Enjoy Limitless Learning. Get Access to Unlimited Courses with Premium Subscrption Subscribe Now

Sign up and start learning
By signing up. you agree to our Terms of Use and Privacy Policy
Forget Password