View Code? Open in Web Editor
NEW
Recreated Tranversy Media hangman game in Vue 3
JavaScript 5.04%
HTML 7.68%
Vue 62.55%
CSS 24.73%
vue-hangman's Introduction
Hi there, I'm Justin ๐
๐ญ I'm currently work on building a data creation platform .
โก I've created and contriubuted to many open source projects.
๐บ Latest Youtube Videos
vue-hangman's People
Stargazers
vue-hangman's Issues
if (event .keyCode < 65 && event .keyCode > 90 ) return
This is a wrong logic !
If the key was alphabetical, then it should be pushed into guessedLetters. Otherwise, we don't check that.
So the logic would be :
if ( event . keyCode < 65 || event . keyCode > 90 ) return