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
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 Overview
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
Pre-requisites
- Basic HTML
- Basic CSS
- Basic JavaScript
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
Curriculum 46 Lectures 03:53:19
Section 1 : Introduction to building a web based game
- 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
Our learners work at
Frequently Asked Questions
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.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?
Instructor
684783 Course Views
20 Courses