Left Blocks Image | Learnfly Right Blocks Image | Learnfly
All in One Offer! | Access Unlimited Courses in any category starting at just $29. Offer Ends in:

Learnfly | Menu Trigger Icons Browse Library

  • Business Solutions
  • Become an Instructor
  • 0
    Shopping Cart
    Learnfly | Empty Cart Icons

    Your Cart is empty. Keep shopping to find a course!

    Browse Courses
Free
7 days left at this price!

This plan includes

  • Limited free courses access
  • Play & Pause Course Videos
  • Video Recorded Lectures
  • Learn on Mobile/PC/Tablet
  • Quizzes and Real Projects
  • Lifetime Course Certificate
  • Email & Chat Support
Get Unlimited Learning Access
$29
7 days left at this price!
30-Day Money-Back Guarantee

This plan includes

  • Access to 11,000+ Courses
  • Ads free experience Courses
  • Play & Pause Course Videos
  • Learnfly HD IconsHD Video Recorded Lectures
  • Learn on Mobile/PC/Tablet
  • Quizzes and Real Projects
  • Lifetime Course Certificate
  • Instructor Direct Support
  • Email & Chat Support
  • Cancel Anytime
$29
$29
$29
  • 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 10 Lectures 00:33:20

    • 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 21 Lectures 02:09:10

    • 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 7 Lectures 00:39:00

    • 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 8 Lectures 00:31:49

    • 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
  • Learnfly Google Logo
  • Learnfly Facebook Logo
  • Learnfly Apple Logo
  • Learnfly EA Logo
  • Learnfly Amazon Logo
  • Learnfly IBM Logo
  • Learnfly Microsoft Logo
  • Learnfly Reddit Logo
  • Learnfly Spotify Logo
  • Learnfly Uber Logo
  • Learnfly Youtube Logo
  • Learnfly Instagram Logo
  • How do i access the course after purchase?

    It's simple. When you sign up, you'll immediately have unlimited viewing of thousands of expert courses, paths to guide your learning, tools to measure your skills and hands-on resources like exercise files. There’s no limit on what you can learn and you can cancel at any time.
  • Are these video based online self-learning courses?

    Yes. All of the courses comes with online video based lectures created by certified instructors. Instructors have crafted these courses with a blend of high quality interactive videos, lectures, quizzes & real world projects to give you an indepth knowledge about the topic.
  • Can i play & pause the course as per my convenience?

    Yes absolutely & thats one of the advantage of self-paced courses. You can anytime pause or resume the course & come back & forth from one lecture to another lecture, play the videos mulitple times & so on.
  • How do i contact the instructor for any doubts or questions?

    Most of these courses have general questions & answers already covered within the course lectures. However, if you need any further help from the instructor, you can use the inbuilt Chat with Instructor option to send a message to an instructor & they will reply you within 24 hours. You can ask as many questions as you want.
  • Do i need a pc to access the course or can i do it on mobile & tablet as well?

    Brilliant question? Isn't it? You can access the courses on any device like PC, Mobile, Tablet & even on a smart tv. For mobile & a tablet you can download the Learnfly android or an iOS app. If mobile app is not available in your country, you can access the course directly by visting our website, its fully mobile friendly.
  • Do i get any certificate for the courses?

    Yes. Once you complete any course on our platform along with provided assessments by the instructor, you will be eligble to get certificate of course completion.
    Learnfly LMS Sample
  • For how long can i access my course on the platform?

    You require an active subscription to access courses on our platform. If your subscription is active, you can access any course on our platform with no restrictions.
  • Is there any free trial?

    Currently, we do not offer any free trial.
  • Can i cancel anytime?

    Yes, you can cancel your subscription at any time. Your subscription will auto-renew until you cancel, but why would you want to?
User Images | Learnfly

684783 Course Views

20 Courses

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...
  • Unmatched Variety and Value!
    Learnfly's monthly subscription offers unlimited access to a vast range of courses. Affordable pricing, compared to competitors, makes it the ultimate choice for continuous learning.
    Jessica M.

    4.7

    JM
  • Top-Notch Quality, Affordable Rates!
    High-quality courses with certified instructors make Learnfly stand out. The affordable pricing is a game-changer for those seeking premium education.
    Alex P.

    4.5

    AP
  • Certified Excellence Every Time!
    Learnfly's courses, taught by certified instructors, ensure top-notch learning experiences. The course completion certificates add significant value to one's skill set.
    Sarah R.

    4.3

    SR
  • Round-the-Clock Support!
    Learnfly goes the extra mile with 24/7 course support. Their dedication to helping students succeed is commendable.
    Ryan K.

    4.1

    RK
  • Learn Anywhere, Anytime!
    Whether on mobile, PC, or tablet, Learnfly's platform offers flexibility. Learning on the go has never been easier.
    Emily S.

    4.7

    ES
  • Job-Ready Skills!
    Learnfly's job-oriented courses equip learners with practical skills for the workplace. An investment in career growth!
    Jake M.

    4.2

    JM
  • Budget-Friendly Brilliance!
    Learnfly's pricing is a steal for the quality and variety of courses offered. Quality education without breaking the bank.
    Olivia T.

    4.5

    OT
  • Instructor Excellence Unleashed!
    Learn from the best with Learnfly's certified instructors. The platform ensures that knowledge is imparted by industry experts.
    Daniel L.

    4.0

    DL
  • Achievement Unlocked!
    Learnfly not only offers courses but also recognizes your efforts with course completion certificates. A sense of accomplishment with every course finished.
    Maya H.

    4.6

    MH
  • Learning Revolution!
    Learnfly's platform is a revolution in education. Access to unlimited courses at affordable rates is a game-changer.
    Ethan W.

    4.7

    EW
  • the-extreme-web-development-course

    The Extreme Web Development Course

    By : Paul Carlo Tordecilla

    Lectures 124 Beginner 4:26:22
  • develop-your-own-chrome-extension-firefox-plugin

    Develop your own Chrome Extension &...

    By : Harshit Srivastava

    Lectures 15 Beginner 2:1:54
  • the-ultimate-codeigniter-3-course

    The Ultimate Codeigniter 3 Course

    By : Paul Carlo Tordecilla

    Lectures 23 Beginner 2:17:35
  • superb-advance-javascript-become-javascript-professional

    Superb Advance Javascript - Become ...

    By : Paul Carlo Tordecilla

    Lectures 28 Beginner 1:28:39
  • application-development-with-ibm-watson

    Application development with IBM Wa...

    By : Harshit Srivastava

    Lectures 14 Intermedite 1:42:29
  • learn-react-16-and-redux-by-building-real-world-application

    Learn React 16 and Redux by buildin...

    By : Haider Malik

    Lectures 74 Beginner 6:46:11

Students learning on Learnfly works with Fortune 500 companies around the globe.

  • Learnfly | a-l-1a Icons
  • Learnfly | a-l-2a Icons
  • Learnfly | a-l-3a Icons
  • Learnfly | a-l-4a Icons
  • Learnfly | a-l-6a Icons
  • Learnfly | a-l-7a Icons
Sign Up & Start Learning
Learnfly | Sign Up Icons
Learnfly | Sign Up Icons
Learnfly | Sign Up Icons




By signing up, you agree to our Terms of Use and Privacy Policy
Reset Password
Enter your email address and we'll send you a link to reset your password.
Learnfly | Sign Up Icons