
Web Development Tutorial - JavaScript, HTML, CSS - Rock Paper Scissors Game
video description
Date: 2022-03-14
Related videos
Comments and reviews: 9
pepe
- 34:25
this works :
rock.addEventListener('click', function() --
console.log(-hello-);-
-)
but then this won't :
rock_div.addEventListener('click', function() --
console.log(-hello-);-
-)
The error the console gives me is this :
app.js:11 Uncaught TypeError: rock_div.addEventListener is not a function
at app.js:11
reply
- 34:25
this works :
rock.addEventListener('click', function() --
console.log(-hello-);-
-)
but then this won't :
rock_div.addEventListener('click', function() --
console.log(-hello-);-
-)
The error the console gives me is this :
app.js:11 Uncaught TypeError: rock_div.addEventListener is not a function
at app.js:11
reply
Julia
did anyone have an issue with getting past the switch statements? once I take out the consoles, nothing is displaying.. can someone please fill me in? I've tried this out step by step, but it's not working. Thanks
reply
did anyone have an issue with getting past the switch statements? once I take out the consoles, nothing is displaying.. can someone please fill me in? I've tried this out step by step, but it's not working. Thanks
reply
itech
When I used const the userScore received an error. Had to use let to get this to work. edit: ah he noticed as well at 55 minutes. I kind of waste 30 minutes on this before i figured it out lol
reply
When I used const the userScore received an error. Had to use let to get this to work. edit: ah he noticed as well at 55 minutes. I kind of waste 30 minutes on this before i figured it out lol
reply
No
1:06 i am unable to change the size of the user and the comp word . When i try to add the fontsize method it just shows the striked line if any one know the solution do let me know !!
reply
1:06 i am unable to change the size of the user and the comp word . When i try to add the fontsize method it just shows the striked line if any one know the solution do let me know !!
reply
Mugiira
This was great, took me 8 hours to build along. Any hints in how to set a max score, so we get the overall winner, and then game resets for another round?
reply
This was great, took me 8 hours to build along. Any hints in how to set a max score, so we get the overall winner, and then game resets for another round?
reply
julienpoeschl
I work with Visual Studio Code and I don't understand how I can apply the CSS part on my HTML code. If I press run, it only runs the HTML file
reply
I work with Visual Studio Code and I don't understand how I can apply the CSS part on my HTML code. If I press run, it only runs the HTML file
reply
Mephisto234
Why is it necessary to set computerScore when the player wins? There is literally no change to the variable. Why are we even messing with it?
reply
Why is it necessary to set computerScore when the player wins? There is literally no change to the variable. Why are we even messing with it?
reply
Jon
This is like one of the small, select few YouTubers that actually do high quality teaching. Thank you so much for your excellent videos.
reply
This is like one of the small, select few YouTubers that actually do high quality teaching. Thank you so much for your excellent videos.
reply
Gonzalo
There is a -rock , paper and scissors- project on Machine Learning course of FCC curriculum,this works for that or its different?
reply
There is a -rock , paper and scissors- project on Machine Learning course of FCC curriculum,this works for that or its different?
reply
Add a review, comment
Other channel videos















