JavaScript HTML Game from Scratch Blackjack
4.6 (14 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
1,454 students enrolled
Wishlisted Wishlist

Please confirm that you want to add JavaScript HTML Game from Scratch Blackjack to your Wishlist.

Add to Wishlist

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
4.6 (14 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
1,454 students enrolled
Created by Laurence Svekis
Last updated 6/2017
Curiosity Sale
Current price: $10 Original price: $200 Discount: 95% off
30-Day Money-Back Guarantee
  • 4 hours on-demand video
  • 10 Articles
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • 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
View Curriculum
  • Basic HTML
  • Basic CSS
  • Basic JavaScript

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 

Who is the target audience?
  • 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
Students Who Viewed This Course Also Viewed
Curriculum For This Course
46 Lectures
Introduction to building a web based game
10 Lectures 34:36

JavaScript Creating Random Numbers

Creating a deck of Cards JavaScript

Source Code loops and random

Output special Characters JavaScript HTML CSS

Adding Color to Characters ternary operator JavaScript

Source Code

How to generate a random card value using JavaScript

Source Code for random card values
Creating the game
21 Lectures 02:18:49
Creating a game Start JavaScript

Shuffle Array values random order JavaScript

Deal the cards setup player and dealer JavaScript Loop

Output Dealer and Players Hand of cards JavaScript

Source Code deal out cards

Template for a Card CSS

Using CSS to create a playing card

Output Styled Cards into Gameplay JavaScript CSS

Source Code output styled cards

CSS JavaScript Cover Dealer Card

Adding gameplay elements HTML

Applying Styling CSS to buttons and updating game elements

Hide buttons start game JavaScript

Source Code

Create next options for player JavaScript

Player actions JavaScript

Create player values and interactions JavaScript

Dealer AI JavaScript play the game

Blackjack values and calculations JavaScript

Determine who won adjust values JavaScript

Working prototype source code
Code Tweaks and fine tuning JavaScript HTML CSS
7 Lectures 38:53
Gameplay adjustments and tweaks JavaScript

User styling and dashboard design CSS HTML

Setting click event JavaScript

Limit min max for input field values JavaScript onchange event

Fix button tweak double JavaScript

Testing and tweaks to debug application JavaScript

Final test run through of gameplay
Source Code review and exploration
8 Lectures 36:15

Clean up source code final tweaks JavaScript

HTML source Code index.html

CSS review code

CSS Source Code style.css

JavaScript code review part 1

JavaScript Code review part 2

JavaScript Source Code
About the Instructor
Laurence Svekis
4.2 Average rating
13,115 Reviews
295,426 Students
183 Courses
Instructor, 18+yrs Web Experience

I'm here to help you learnachieve your dreams, come join me on this amazing adventure today

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 to bring 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!"