The aim of the game is to acquire a hand total of 21 or as close to it as possible without exceeding it.
Customised and personalised a JavaScript blackjack game, incorporating personal touches and adaptations, through Scrimba's course.
Technologies used:
Recap of: JS fundamentals covered.
- Basic JavaScript - if else statements
- Semantic HTML
- Using background images
- onClick event handler
- Arrow functions (ES6 syntax) instead of traditional function syntax
- Adding hover effects and transitions to buttons
- Displaying dynamic information on the page using text content
- Utilizing querySelector to select elements dynamically using IDs
- Adding and removing elements from an array
- For loop syntax and utilizing the .length property
- Math Object - random & floor
- Understanding the importance of the return keyword and storing the returned values
Future Implementations:
- Enhance visual presentation by incorporating graphics, including images of playing cards.
Useful resources