VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
Web Development Tutorial - JavaScript, HTML, CSS - Rock Paper Scissors Game

Web Development Tutorial - JavaScript, HTML, CSS - Rock Paper Scissors Game

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
This web development tutorial shows how to use JavaScript, HTML, and CSS to create a Rock Paper Scissors Game in the browser. Tutorial by whatsdev. Check out their channel: https://www.youtube.com/channel/UC0tRdbXVDbhaRvZPKsRgmxg
Date: 2022-03-14

Comments and reviews: 9


- 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

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

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

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

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

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

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

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

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