Build A Hangman Game in HTML CSS and JavaScript | Hangman Game in HTML CSS and JavaScript

  Рет қаралды 54,176

CodingNepal

CodingNepal

Күн бұрын

In this video tutorial, I've shown how to build a responsive Hangman game using HTML, CSS, and JavaScript. In this game, the user has to guess all the letters of a randomly generated word within a given number of tries. There is also a hangman illustration that will progressively appear on the gallows for each incorrect guess.
Word List used on this Hangman Game
drive.google.com/file/d/1V3qI...
Download Only Images of this Hangman Game
codingnepalweb.com/custom-pro...
Live Demo of Download Code of this Hangman Game
www.codingnepalweb.com/demos/...
Hire me on Fiverr
www.fiverr.com/prakashahi
Follow me on Instagram
/ coding.np
Visit my website for helpful coding projects with source code
www.codingnepalweb.com
Timestamps:
0:00 - Hangman game demo
2:28 - Starting with HTML & CSS
16:06 - Getting into JavaScript
16:45 - Creating interactive keyboard buttons
18:35 - Displaying a random word and hint
22:18 - Checking if clicked letter matches the word
30:08 - Implementing the Game Over functionality
35:48 - Resetting the game for play again
#javascript #html #css #javascriptprojects #js #chatbot
Music Credit:
Ikson - We Are Free [Official]
• #83 We Are Free (Offic...
Ehrling - You And Me (Vlog No Copyright Music)
• Ehrling - You And Me (...
Miss You - LiQWYD
• Miss You - LiQWYD (No ...
Those Restless Nights - Artificial.Music
• Those Restless Nights ...

Пікірлер: 62
@ashishpatel6078
@ashishpatel6078 10 ай бұрын
Im following you since 1.5 years and watched all of your channels videos and Im react developer still wait and watch your javascript videos . I can't express how much your videos have helped me to think in functional programming the way you split codes in functions Thank you so much sir❤❤❤
@CodingNepal
@CodingNepal 10 ай бұрын
Thanks for your kind words, brother. Keep going!
@minhazhalim2097
@minhazhalim2097 10 ай бұрын
Me too....
@Workinghard7
@Workinghard7 8 ай бұрын
Bhot sahi hai bhai nice work randomly found your channel and saving your playlist now haha thanks keep making
@user-sg7dn9wz2r
@user-sg7dn9wz2r 4 ай бұрын
Amazing, it helped a lot with my homework. Many thanks!
@YoxiiPlzz
@YoxiiPlzz 3 ай бұрын
Followed the tutorial and made this in 5 hours. Awesome video!
@MixtoAll
@MixtoAll Ай бұрын
Can you plz share the code
@MixtoAll
@MixtoAll Ай бұрын
I need it urgently
@natanelgabay3673
@natanelgabay3673 2 ай бұрын
Hi! How come the 'victory GIF' won't appear whenever I get the correct word? The 'lost GIF works perfectly and I have the JS code written in order and precisely. I have followed each word and line of code step by step therefor there should'nt be any reason for it to not function properly ... I would appreciate the fast response
@addiesallow
@addiesallow 17 күн бұрын
Wow, what an amazing tutorial! Thanks to your fantastic guidance, I was able to successfully build my very first Hangman game. Thank you!! 🤗
@CodingNepal
@CodingNepal 17 күн бұрын
Great and you're welcome :)
@rmcastro99
@rmcastro99 2 ай бұрын
Do you have a playlist where you walk us through this?
@sh9vch9nk0
@sh9vch9nk0 4 ай бұрын
Brilliant explanation, easy to catch up and really useful! Thank you 😊😊❤❤
@user-dj1od7hu4s
@user-dj1od7hu4s 2 ай бұрын
how do you get the blue ring whenever you click?
@tasneemayham974
@tasneemayham974 5 ай бұрын
AMAZINGGGG WORRKKK MANNN!! AMAZINGGG!!
@hanastudy
@hanastudy Ай бұрын
Thanks a lot. it's helped me with my current project
@CodingNepal
@CodingNepal Ай бұрын
You're welcome.
@effy8824
@effy8824 Ай бұрын
will this help me to understand oop better in js?
@user-li4sq4qd6z
@user-li4sq4qd6z 10 ай бұрын
Sir pls make a video of check of Luhn Logarithm
@yubiroaster6285
@yubiroaster6285 10 ай бұрын
Amazing video 👏
@CodingNepal
@CodingNepal 10 ай бұрын
Thanks 😁
@morissmatias5110
@morissmatias5110 5 ай бұрын
What if the word is a two-word when guessing it?
@VamsiDevendrakumar__
@VamsiDevendrakumar__ 10 ай бұрын
hi bro, how you are adding these code's in your website with black container and each color for each element with overflow with constant container fixed size and in future can you add copy code option for the code snippet like chatgpt as it has copy code option like that!!...... chatgpt said we have to use highlight.js library [please reply bro and do another video for how to add code like that effect ]
@XBprod
@XBprod 4 ай бұрын
visual studio code
@jonathanvera3911
@jonathanvera3911 10 ай бұрын
Thank you, I love your videos.
@CodingNepal
@CodingNepal 10 ай бұрын
Glad you like them!
@Zezemint
@Zezemint 10 ай бұрын
Speaking of games, can we please make a high scores UI in the future? =)
@CodingNepal
@CodingNepal 10 ай бұрын
Yes, you can track the high score, store it in the browser's local storage, and show it in the game.
@mikhaelamendoza3693
@mikhaelamendoza3693 6 ай бұрын
how can i fix the uncaught reference error with wordlist on console?
@viksa8444
@viksa8444 4 ай бұрын
pay attention to order of script execution in html file, first execute the word list file than the script.js
@rahatsaeed334
@rahatsaeed334 8 ай бұрын
the gameModal.querySelector("img").src = `images/${isVictory ? 'victory' : 'lost'}.gif` have error
@mariyahrashid6991
@mariyahrashid6991 10 ай бұрын
Hello, the where() line gives me errors- saying { expected- not sure where I’ve gone wrong😮
@mariyahrashid6991
@mariyahrashid6991 10 ай бұрын
Line 73 in your style.css. Even I copy your code into vscode it throws an error
@heartlessaln
@heartlessaln 10 ай бұрын
I am still learning JavaScript I'm very beginner I can't to do it for now😭🥺
@spreadItWide
@spreadItWide 10 ай бұрын
watch it again at ½ speed and code along
@clidlove
@clidlove 10 ай бұрын
me too😂 I just want to finish my homework and get a better score😂
@al-ft1ng
@al-ft1ng 10 ай бұрын
U can do it pal
@stutisingh8960
@stutisingh8960 10 ай бұрын
can you pls solve this issue - i'm not able to get clickedLetter like a,b,c etc instead iam getting '}'
@CodingNepal
@CodingNepal 10 ай бұрын
You may have made some mistakes on the code. Here is the code that you can check for reference: www.codingnepalweb.com/build-hangman-game-html-javascript/
@Raj-lb3qh
@Raj-lb3qh 10 ай бұрын
Bro app shirf javascript ka online paid class dino na jisme hme bhi yesha project bnene ke liye shikshao bro plz bhai plz plz 🙏🏼🙏🏼🙏🏼🙏🏼🙏🏼🙏🏼🙏🏼🙏🏼🙏🏼🙏🏼
@peterstone58
@peterstone58 3 ай бұрын
*this video could have most views if you used voice for explanation*
@rimurusensei7
@rimurusensei7 2 ай бұрын
No need really
@user-pp7yv7zn4v
@user-pp7yv7zn4v 9 ай бұрын
hi its very urgent so can u please tell me how to get hangam pics its urgent so if it is possible then tell me thanks
@not_stephen
@not_stephen Ай бұрын
draw some in paint dude..
@91221HelloWorld
@91221HelloWorld 9 ай бұрын
Please Create like and comment functionality using ajax and php.
@rushikeshavachat4282
@rushikeshavachat4282 10 ай бұрын
Can you build a project in Next.JS,TYPESCRIPT+ REACT & TAILWIND CSS.Please reply coding nepal.🤔🤔🙏🙏
@CodingNepal
@CodingNepal 10 ай бұрын
Will try
@user-li4sq4qd6z
@user-li4sq4qd6z 10 ай бұрын
I am From Jharkhand India
@CodingNepal
@CodingNepal 10 ай бұрын
Great!!
@user-li4sq4qd6z
@user-li4sq4qd6z 10 ай бұрын
@@CodingNepal nice to meet you sir
@rahatsaeed334
@rahatsaeed334 8 ай бұрын
The word and its hint where you are get please a replie
@CodingNepal
@CodingNepal 8 ай бұрын
Here is the game word list: drive.google.com/file/d/1V3qIVPEtiJSlGEAqF_dMTF2HRGt_eq2U/view?usp=sharing
@F8te_true
@F8te_true 6 ай бұрын
The responsitivity doesn't work for me. it just shrinks in size.
@tasneemayham974
@tasneemayham974 5 ай бұрын
Check again. It works for me. Or you can share your code with us, maybe one of us can help.
@Schnecke-Schneck
@Schnecke-Schneck 10 ай бұрын
ICAN the code not find of you Webseite
@CodingNepal
@CodingNepal 10 ай бұрын
Here is the code link: www.codingnepalweb.com/build-hangman-game-html-javascript/
@ghulammohiudin9782
@ghulammohiudin9782 9 ай бұрын
Hi sir, Can you tell me the secret to build these types of logic in JavaScript?
@rahatsaeed334
@rahatsaeed334 9 ай бұрын
It is logic
@forheuristiclifeksh7836
@forheuristiclifeksh7836 Ай бұрын
1:00
@mahin_2_23
@mahin_2_23 10 ай бұрын
Please create a professional video editor. Please make a video about this.
@CodingNepal
@CodingNepal 10 ай бұрын
I'll try.
@mdjannatuadonbhuiyan7157
@mdjannatuadonbhuiyan7157 9 ай бұрын
adf
100❤️ #shorts #construction #mizumayuuki
00:18
MY💝No War🤝
Рет қаралды 20 МЛН
Do you have a friend like this? 🤣#shorts
00:12
dednahype
Рет қаралды 49 МЛН
it takes two to tango 💃🏻🕺🏻
00:18
Zach King
Рет қаралды 31 МЛН
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Рет қаралды 892 М.
Клавиатура сайта на JavaScript
18:22
WebDev с нуля. Канал Алекса Лущенко
Рет қаралды 23 М.
A game of TicTacToe written in JavaScript ⭕
18:57
Bro Code
Рет қаралды 100 М.
Filterable Image Gallery in HTML CSS & JavaScript
16:20
CodingNepal
Рет қаралды 49 М.
Every CSS Animation property
9:26
chunkydotdev
Рет қаралды 54 М.
Hangman Game with HTML CSS and JavaScript | Beginner Tutorial
10:36
A game of Rock Paper Scissors written in JavaScript ✋
11:36
100❤️ #shorts #construction #mizumayuuki
00:18
MY💝No War🤝
Рет қаралды 20 МЛН