JavaScript HTML Game from Scratch Blackjack
4.4 (82 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
1,873 students enrolled

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.4 (82 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
1,873 students enrolled
Created by Laurence Svekis
Last updated 11/2019
English
English [Auto]
Current price: $129.99 Original price: $199.99 Discount: 35% off
8 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 4 hours on-demand video
  • 11 articles
  • 3 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll 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
Course content
Expand all 47 lectures 04:05:02
+ Introduction to building a web based game
10 lectures 34:09
JavaScript Creating Random Numbers
04:25
Creating a deck of Cards JavaScript
05:00
Source Code loops and random
00:06
Output special Characters JavaScript HTML CSS
03:07
Adding Color to Characters ternary operator JavaScript
04:56
Source Code
00:21
How to generate a random card value using JavaScript
08:41
Source Code for random card values
00:28
+ Creating the game
21 lectures 02:15:45
Creating a game Start JavaScript
03:06
Shuffle Array values random order JavaScript
06:54
Deal the cards setup player and dealer JavaScript Loop
08:05
Output Dealer and Players Hand of cards JavaScript
05:36
Source Code deal out cards
00:50
Template for a Card CSS
07:48
Using CSS to create a playing card
07:20
Output Styled Cards into Gameplay JavaScript CSS
07:37
Source Code output styled cards
01:16
CSS JavaScript Cover Dealer Card
05:31
Adding gameplay elements HTML
11:17
Applying Styling CSS to buttons and updating game elements
09:57
Hide buttons start game JavaScript
03:08
Source Code
01:51
Create next options for player JavaScript
08:30
Player actions JavaScript
05:53
Create player values and interactions JavaScript
11:47
Dealer Logic JavaScript play the game
09:42
Blackjack values and calculations JavaScript
06:34
Determine who won adjust values JavaScript
10:09
Working prototype source code
02:52
+ Code Tweaks and fine tuning JavaScript HTML CSS
7 lectures 38:53
Gameplay adjustments and tweaks JavaScript
07:07
User styling and dashboard design CSS HTML
04:55
Setting click event JavaScript
03:03
Limit min max for input field values JavaScript onchange event
03:09
Fix button tweak double JavaScript
06:39
Testing and tweaks to debug application JavaScript
09:57
Final test run through of gameplay
04:03
+ Source Code review and exploration
8 lectures 35:00
Clean up source code final tweaks JavaScript
07:17
HTML source Code index.html
00:22
CSS review code
03:31
CSS Source Code style.css
00:41
JavaScript code review part 1
10:52
JavaScript Code review part 2
05:55
JavaScript Source Code
02:12
Requirements
  • Basic HTML
  • Basic CSS
  • Basic JavaScript
Description

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 this course is for:
  • 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