nsleeah / blackjack

A rendition of Blackjack for developing my JavaScript programming fundamentals.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JavaScript Blackjack Game 🃏

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:

HTML5
CSS3
JavaScript
Bootstrap
TailwindCSS


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


About

A rendition of Blackjack for developing my JavaScript programming fundamentals.


Languages

Language:JavaScript 50.1%Language:HTML 36.6%Language:CSS 13.4%