Hope you enjoy this one! It got dark already lol. Might take a while to process the video for 1080p.
@mohamedh.3945 жыл бұрын
Hey Ed. @30:44 why did you use a regular 'function' rather than an arrow function '()=>' ? Thanks for the videos. *edit* Haha Nevermind. My question was answered a minute later in the video.
@brahimnkhili70575 жыл бұрын
Thank you sooo much for this beautiful videos, you made programming soooo FUN, you're my HEROO
@lutfula90064 жыл бұрын
Thank you Ed
@abdulsubhan19504 жыл бұрын
hi sir i have a problem in code i follow same steps u did but in 31: 43 its show error Uncaught TypeError: options.forEach is not a function what can i do plzz help
@KRAMDROIDTECH4 жыл бұрын
Thank You so much ed😊
@mhm64 жыл бұрын
i wish u were my professor during college. you make programming really fun and you have a cheerful tone in your voice that makes you sound very approachable for help outside the classroom.
@justadudeuu Жыл бұрын
i love the energy
@farazmehraien39134 жыл бұрын
your sense of humor and skills are fantastic
@abhisheksunam48694 жыл бұрын
Ed is like "your friendly neighbourhood dev".
@jakeylee.mp45 жыл бұрын
42:15 "I think i saw a gang sign in there.." lmfao
@6MyK5 жыл бұрын
You "rock" man ! I like your tone and explainations, thanks for sharing and giving us the opportunity to learn this almost basic stuffs. And yes you did cross the ocean to teach a french guy ;)
@saidsaid-nn1qk4 жыл бұрын
42:10 "I think I saw a gang sing in there " lol
@krishnachakraborty90532 жыл бұрын
I have gone through may videos to learn javascript but get hopeless soon. yours are the most compact and useful videos. Thank you.
@lynx18504 жыл бұрын
i dont usually comment but it was i able to find most helpful javascript tutorial series. Thank you so much, its gave me a lot.
@dmitry97182 жыл бұрын
The best video to learn for beginners. Very clear explanations. Thank you
@DanielSouza-nq1hw5 жыл бұрын
6 months and there's no dislikes omg this is so good
@rassoultaleb93734 жыл бұрын
you jinxed it.
@sauhardbhandari84354 жыл бұрын
It was so much fun watching, doing, learning and everything... Thank you .. thank you so much for being a great tutor out there!!
@rohinisampath5 жыл бұрын
First video which doesn't have dislikes!🖤👌
@trelala7894 жыл бұрын
This is great tutorial, but it is missing one small detail at the end (I didn't realize that at first either). Hands should always do 'shaking' with rock. But now it stays in whichever options was the last. For resetting to rock for next round, place this in options.addEventListener function: playerHand.src = `assets/rock.png`; computerHand.src = `assets/rock.png`;
@williamwalker44944 жыл бұрын
Thanks Renate. Important that this code goes after line 43 }, 2000); . However this is still no animation on subsequent rounds. Know how to fix this?
@trelala7894 жыл бұрын
@@williamwalker4494 I'm not sure what you mean. Yes, need to place this code outside of the setTimeout function, but otherwise it doesn't matter. It works same for me regardless of placing it at the very top or at the end. Did the animations work for you, before trying to reset it with this code?
@madmike00642 жыл бұрын
Thanks Renata this worked for me. I placed this after line 35 & it seems to be working perfectly.
@duncansareto78543 жыл бұрын
umeweza! thats a swahili word of saying you've done it well. Your teaching is mindblowing and inspiring. keep the good work.
@pawezawadzki91134 жыл бұрын
I just want to notice, that if anybody has the same problem as me (that is - when fadeOut style overrides fadeIn, even after applying startGame function [24:25]) you can easily solve it by adding !important to both arguments: div.fadeIn { opacity: 1 !important; cursor.event: all !important; I am working at Safari, and it came up even though I followed every step of this tutorial, and this solution works like a charm.
@jadijohnson28994 жыл бұрын
kzbin.info/www/bejne/Y4uuqICil96lapo this video is better alternative
@pawezawadzki91134 жыл бұрын
@@jadijohnson2899 It is nowhere as good as this tutorial. I know you linked your friend's/your channel in order to get views, but its creator use "var" keyword which is a bad practice in almost every case. It is also not as detailed project as this one. There's absolutely no explanation on why he/she uses this or another function over other. Also - no music, no voiceover, just awfully placed subtitles. I guess it is indeed alternative way of coding the same project, but it's definitely not a better one for learning.
@jadijohnson28994 жыл бұрын
@@pawezawadzki9113 I let him know
@pettersonabade59565 жыл бұрын
WOW, this is awesome! I'm learning javascript with you.
@andrewblyth37765 жыл бұрын
This was really easy to follow and you made it fun. Thanks a lot!
@leonragnasheneider13933 жыл бұрын
in 22:04 the line 11 in java script section it says to me that "Cannot read property 'addEventListener' of null" When I exactly trying to copy the codes for studying purpose.
@davidcarter41165 жыл бұрын
Nice work... and I enjoy your videos and please keep the mistakes and troubleshooting in the videos that has a lot of value and it is real world. These types of mistakes happen all the time, even to developers with years for experience, people get stuck all the time is it important to know how fix these issues it is part of a developer's skillset. It also let newer developers know that experienced developers run into the same issues. Anyway I appreciate the time and effort you take to create these videos.
@prasannapurohit5824 жыл бұрын
hey, Dev Ed, the way you do while writing code is mind-blowing, I just watch your videos to look the cool stuff of face and action you do. keep doing dude.
@anotherbaby97035 жыл бұрын
You are doing amazing Edwin! Started with your 1st javascript tutorial today.... Hope I learn it faster than I could.
@abicinemafood4 жыл бұрын
Hey Ed, I know it's late since you posted this, but I think one thing remained unsolved. At the end when you delayed the fist/rock shaking hands, that only works for the first round, because in the next rounds, images don't delay. So I guess you should add that for each round, on every time that buttons get clicked
5 жыл бұрын
6:03 " - Let's take a look how does looks and it is gonna look [ 2 seconds ] HORRIBLE!! NICE !! " Hahahaha Thanks for the tutorial, I've had so much fun learning JS so far.
@pauljerome1625 жыл бұрын
Hey man, thanks for this video it helped my solve a problem on my website that has bugging me forever. keep it up!
@lavanyam93375 жыл бұрын
Thanks a lot !! You are so young and educate a lot of young minds. Extremely glad to become your subscriber!
@raj893785 жыл бұрын
Amazing Video. Love watching your videos man. Keep it up bud!
@johanhellberg96773 жыл бұрын
Thank you for the fun and easy to follow along rock paper scissor tutorial!
@jenskristianlaufrederiksen35543 жыл бұрын
Nice tutorial! I found these percentages a bit more appealing though xD @keyframes shakeComputer { 0% { transform: translateY(0px); } 30% { transform: translateY(-50px); } 44% { transform: translateY(0px); } 58% { transform: translateY(-50px); } 72% { transform: translateY(0px); } 86% { transform: translateY(-50px); } 100% { transform: translateY(0px); } }
@rawgz014 жыл бұрын
Guys, you can add playerHand.src = `./assets/rock.png`; computerHand.src = `./assets/rock.png`; before computer choice to reset the images to rock when shaking after 1st time. GJ Ed.
@jadijohnson28994 жыл бұрын
kzbin.info/www/bejne/Y4uuqICil96lapo this video is better alternative
@Jakersfire5 жыл бұрын
Another brilliant tutorial, great work
@badasscoder44813 жыл бұрын
Sir this is more different and unique than others on Ytube. Realistic
@lautaroarcturus4 жыл бұрын
thank you man,. i couldnt make it work, but i took your aproach to the challenge i got in my bootcamp. ill try to make it work with tdd, using cypress
@HostDotPromo5 жыл бұрын
Remember playing this game when I was a kid. Man I am addicted to Javascript vids.
@igoroliveira78624 жыл бұрын
Ed, thanks so much! You teach really well and your english is terrific. I am not a native english speaker but I can understand you very well.
@PS-le4mf5 жыл бұрын
3:21 in & I did one like this from some other youtuber - again - yours is better. When you do a few videos that others do - then just do it in your style; people will see hands down who teaches better! This has been happening to me all the time. I'm doing this because the last time I couldn't get it completely working. I have none of those issues with your teaching apparently!
@developedbyed5 жыл бұрын
I see you are learning Plastic Spoon! Thanks as always for the lovely messages!
@247tomoekaoru4 жыл бұрын
Thank you so much, this was so FUN and interesting!!! Keep uploading cool tutorials like this.
@pranavvyas77973 жыл бұрын
1:52 PC making noise... Ed : " Bady computer wants some spanking huh ! 😂😂 " Ed is amazing ! I wish he was my JS professor in College.
@marioskanellopoulos87805 жыл бұрын
What a great concept dude!!! I know its been a while since you posted me but its still a really good one!!! Thumbs up from me for sure! I subscribed to you already and cant wait for more staff! Keep up the good work!!
@love_tacos5 жыл бұрын
"So many Ps......and zero poops"" LMFAO
@judygoergen89484 жыл бұрын
39:54 "Oh, God. What are we doing with our lives?"
@tanmaygadade55144 жыл бұрын
At 24:26 mins my 'Into screen' is fading out but it's showing me an error in the ("fadeOut"). Can someone help me with this issue?
@dereka69645 жыл бұрын
Really good tutorial and jumping off point. Keep up the good work
@davidmirza13664 жыл бұрын
Thank you for this great VIDEO!! You are a very good teacher man !
@tuitionstonight5 жыл бұрын
Welldone bro :) You have mindblowing programming skills :)
@kritigandotra36223 жыл бұрын
Thank you so much for this amazing project! Looking forward to making more projects with you and learning.
@alinkhan2384 жыл бұрын
Amazing dear...🥰 Enjoyed the whole steps
@sachinmohan69353 жыл бұрын
Really enjoyed this project!!
@snakone5 жыл бұрын
on the playMatch function at line 24 you might use event Delegation to avoid having the same function for each option, even if you ever click a button, you may not use this functions but they using unneccesary memory
@sunnyshang43504 жыл бұрын
Okay this is so fun to go thru. Love it
@qrx.45964 жыл бұрын
please help i left youtube just as Ed said at 6:12 and video disappeared, i don't know what to do
@acacius66554 жыл бұрын
Hey Ed! Really enjoying your videos. I was wondering - what extension are you using that formatted your code at 48:10 ~ ? It automatically made the code "consistent" in it's spacing after the "transform:" part. Cheers
@edricko74 жыл бұрын
the extension name is preetier
@wojciechsnopkowski69715 жыл бұрын
Great content. Much, much, much appreciated! Keep it up!👍🏻
@GjentiG44 жыл бұрын
How can I do a for (option of options) instead a for.each? min 30:15
@anathkantonda4 жыл бұрын
May God bless you for this tutorial. Thank you so so much!!
@parmeetsehdev99734 жыл бұрын
Updating Images code is not working for me ... any solution 41:35 ... plz ???
@ney1185funk3 жыл бұрын
Very nice Bud. thx for sharing.!!
@harvygrados52985 жыл бұрын
Love watching your videos !!!
@Ch3Lu873 жыл бұрын
Excellent video! Thanks!
@BlackParaffin-pn8zb8 ай бұрын
I couldn't finish this js project due to 41:30 image update, my code is not working. I've spend almost 3hours for this problem and I checked all the comments bellow but I've found no solution for this....😥😥😥😥😥😥😥😥😥
@imindproduction94845 жыл бұрын
Thank you @Dev Ed for your amazing tutorial and i have a question here, when we are creating the compareHand function and we gave it to parameters (computerChoice, playerChoice) with no previous mention to playerChoise above! although we needed the textContent of the buttons to compare it with the computerChoise. how we did that ?
@karimaladdinmansour96365 жыл бұрын
this.textContent or playerChoice refered to option in options , which was the button u clicked! const options = document.querySelectorAll(".options button"); so clearly playerChoice given by you (the user who clicked the button)
@tannerbarcelos68805 жыл бұрын
gonna take a bit of work to really understand DOM stuff but JS overall and . html/css have come relatively easily. its that portion of making a variable and saving a whole query into it but then walking through th elogic in a function which messes me up a bit! but that isnt on you, its on me as the learner! thank you for everything, and i will watch this video tomorrow morning in depth more!
@jeffjames153 жыл бұрын
Great tutorial!
@chrisdanikas79185 жыл бұрын
awesome dude keep up the good work
@bikramchettri94055 жыл бұрын
another wonderful and conceptual video. your js series is awesome. can you do a tutorial on how to make accordions,tabs ....etc
@developedbyed5 жыл бұрын
Absolutely!
@bikramchettri94055 жыл бұрын
dropdown menu too while you are at it.
@bikramchettri94055 жыл бұрын
@@developedbyed I created an accordion. codepen.io/bikram-chettri/pen/omGeqp
@sheerazahmadkhan14373 жыл бұрын
Hi Ed, in the update function why are using const though we gotta update the variables.
@jaimeojeda47804 жыл бұрын
How does it know what "playerchoice" is.
@Glam_by_Ak4 жыл бұрын
Hi dev this is Aman here I just started learning coding and I always watch your videos it’s very good and understanding I also tried this game but I want to try reset button on this game I tried to do but couldn’t can you please help how can we make reset button with js.
@byedwardleung4 жыл бұрын
do you have anymore projects based on vanilla javascript?
@maheshtamang61583 жыл бұрын
dear Dev ed, I'm facing a problem in linking the image file as shown in 40:27 my vs code simply dose not recognize .src as a built in function which lead to not being able to link the file can if you know why it's hapening will please help me
@marvij77152 жыл бұрын
same problem.
@ivanros99742 жыл бұрын
@@marvij7715 My mistake was I wrote document.querySelectorAll instead of document.querySelector in playerHand and computerHand...
@shrimpXD4 жыл бұрын
hey dev ed i wanted ask something at 37:21 instead of making 2 if statements can we just use an and operater && eg: if(playerChoice === 'rock' && computerChoice === 'scissors'){ winner.textContent = 'Player wins' }
@ayanbanerjee51365 жыл бұрын
You are just awesome bro!
@LucaCirfeta4 жыл бұрын
One question, at 31:55 on //Check for Rock, I can also use a if statement with AND && like if(playerChoise === 'rock' && computerChoise === ''scissors)?
@zoltankarpati80285 жыл бұрын
Thank you, it is very inspiring. I really enjoyed it!
@thequickcode51443 жыл бұрын
Sir Great Effort I love your quality content and the way you teach is really awesome so thanks again for this tutorial
@MrinalPatraASTU-4 жыл бұрын
Really enjoyed it, please make more videos on js
@TheAsphixiator4 жыл бұрын
Hey Ed, great video, but for some reason, when I add the fadeIn class to my Match, it doesn't seem to work! Its somehow getting overwritten by the fadeOut we added in the HTML. Please help someone!
@byedwardleung4 жыл бұрын
I just followed the code and it seems to work fine, you sure you didn't mistype something?
@akshayvinod12354 жыл бұрын
replace match.classList.add("fadeIn") with match.classList.remove("fadeOut")
@ChrisGatt5 жыл бұрын
I'm still early in the tutorial but finding it really useful so far. Thanks so much! I noticed that your 'Live Server' seems to update almost instantly. I have about a 10 second lag. How have you set it up to be so immediate?
@tusharjain55004 жыл бұрын
You can set it in settings search for live server then their is by default delay of 100 milliseconds change it. And you are done
@ilonarybka23334 жыл бұрын
Good tutorials. Much appreciated.
@mohamedh.3945 жыл бұрын
Thanks for the video, Dev! I found the theme you're using but how did you get your folder icons on the left side to look like that? That's really cool.
@meenubakshi86534 жыл бұрын
make a folder and add inex.html to it then on same folder add images then app.js and style.css
@sayandutta26695 жыл бұрын
AWESOME MAN 👌👌❤️❤️
@hadinmz78773 жыл бұрын
Thanks, Great tutorial 👍
@love_tacos5 жыл бұрын
@Dev Ed: I have a question regarding the div.match element. I notice div.match has three children (, and ) and am curious about the width of the div.match. How is the browser computing the width of div.match? Or more specifically: Why isn't the div.match spanning the entire viewport? I noticed has CSS rules of position, top, left, transform....but nothing determining the width. And the three children (listed above) are all block elements, so I expect them to span the entire viewport. Maybe you or someone else can explain, if this makes sense. Thanks for the great tutorial! It's teaching me loads of good stuff!
@andress67263 жыл бұрын
Thank you Ed!
@kibrisgazetesi65862 жыл бұрын
Pressed like as soon as he slap his machine 😂
@mohanedbenmansour59275 жыл бұрын
bring your i7 back home :( love the tutorial
@atikrangnekar33374 жыл бұрын
which software are you using for recording
@ledude_4 жыл бұрын
This is a great video to learn : At this time 40:57 for me this doesnt work : playerHand.src = '../assets/${this.textContent}.pgn'; computerHand.src = '../assets/${computerChoice}.pgn'; I just cant write it like this, putting a ${} in a src its like forbidden ... i tried to write it a different way but its beyond my knowledge.
@anishsharma12814 жыл бұрын
You have to use backtick ` ` not single quote ' '. Below is the correct code. playerHand.src = `../assets/${this.textContent}.png`; computerHand.src = `../assets/${computerChoice}.png`;
@ajaykmr86844 жыл бұрын
Hey, I hope that you're already out of this problem. But there might be some people who might be looking for the same doubt so instead of going for this complex approach, i have a simpler one for beginners so they might eventually get rid of this . so instead of writing such complex thingy, use "assets/" + this.textContent + ".png";
@harshitpal52174 жыл бұрын
@@ajaykmr8684 Thanks, I was stuck at this.
@jamesharrold50454 жыл бұрын
@@ajaykmr8684 Hey, thanks for the solution. When I enter ./ I don't get the drop down menu that allows me to link the assets file, do you know why this may be?
@goodboy81804 жыл бұрын
are you get the solutions
@chaitanya_p4 жыл бұрын
I defined playerChoice along with computerChoice as playerChoice = option.className; the method in the video wasn't working for some reason
@Jason.Rivera5 жыл бұрын
I had no idea that building a rock, paper, scissors game would be this damn complicated. *cries internally* I can't picture myself coming up with this all on my own....feeling kinda discouraged now
@billyfairbank5 жыл бұрын
The good news is almost anything you want to create has been (at least partially) done before. Use this as a launchpad for making your own versions of great ideas. Even experienced devs feel discouraged sometimes. I'm sure it took MANY revisions to make this tutorial.
@Jason.Rivera5 жыл бұрын
@@billyfairbank thank you
@tomisinergy49634 жыл бұрын
He doing programing at js manny years imagine yourself to programming like 5 years. You will do this game with closed eyes. But you put an honest answer unlike this other fake programmers.
@joemao54735 жыл бұрын
So awesome. Thank you so much !
@sayyedshoeib71072 жыл бұрын
how to find ho is winner after the player or computer point is 5,10 final result
@MasterZiomekPL5 жыл бұрын
If you're new to JS understanding *this* part will save you a lot of trouble 30:35 At least it would for me.
@davidngassa21355 жыл бұрын
Awesome video! Thanks
@manglesh06054 жыл бұрын
every round should starts with the rock and than after animation should change to whatever value it get . how to do that sir plss rply.
@zenu45585 жыл бұрын
Awesome!!!!stuff loved it🥰🥰🥰
@tonit65492 жыл бұрын
What do I do if when i run it saids deprecated feature used?
@starlight14684 жыл бұрын
My hole compare hands method not working please help?????