wow yours is so efficient; for the life of me I couldn't figure out how to do this
@wilmakorch6792 жыл бұрын
Very helpful you are a life saver
@Coolio3452 жыл бұрын
Thanks for the concise and efficient tutorial! At 5:10, why are #opponent-choice and #your-choice centered, but #choices isn't? I think the body's "text-align: center;" is centering all the elements, but then shouldn't #choices also be centered by it since it's all in the body? Why did it need the "margin: 0 auto;" when the rest didn't?
@KennyYipCoding2 жыл бұрын
Hi, it’s because choices is the id of a div tag while the other two, they’re img tags
@BurakVeBekir7 ай бұрын
Thanks for your efforts
@sarialail Жыл бұрын
thank you so much I have exam today in javascript
@aditom022 жыл бұрын
good! keep it up💛💛
@amigm2 жыл бұрын
The "+= 1;" you can replace it with "++;"
@Emmanuel-yz6ti Жыл бұрын
Please placing your script.js link under head is different from when you place it at the bottom?
@CarlProgrammer2 жыл бұрын
how do I upload this online?
@selva67975 ай бұрын
if i get image link from google, how to add in java script. could you tell me?
@raylorraine4816 Жыл бұрын
Can I do this on my Textpad?
@S4NZZ. Жыл бұрын
How to fix it when I move the file to my handphone? I shared it only showed up the number 0 (I need your answer)
@jayb2568 Жыл бұрын
I'm having some trouble with the "function selectChoice" part. they just put blank images there. Any help?
@KennyYipCoding Жыл бұрын
right click --> inspect, check the console see if theres any error message. Or you might've made a typo. You can also reference the code from the github link
@jayb2568 Жыл бұрын
@@aleenajoseph3414 I personally couldn't fix it. No idea what the issue was..
@LEVHY-YT Жыл бұрын
@@KennyYipCodingI'm having the same issue currently 😢
@kornelszovati787411 ай бұрын
Hi, the solution is to keep everything the same and on the onload function change to choice.setAttribute('id', choices[i]);
@sayyedshoeib71072 жыл бұрын
how to find ho is winner after the player or computer point is 5,10 final result
@harunamin5606 Жыл бұрын
please build a website fully responsive with javascript thank you i subscribed you , your tutorial great
@C.Med369 Жыл бұрын
💙💙💙
@gengatuberofficial70092 жыл бұрын
what software you use for recording a screen?
@KennyYipCoding2 жыл бұрын
Hi, the software I use is called Camtasia
@gengatuberofficial70092 жыл бұрын
@@KennyYipCoding thank
@albasiempre5931 Жыл бұрын
thru this video, I could clarify how and in which case I should use Math.random
@IamUkrainian2 жыл бұрын
two h1 tags on one page... bad practice
@KennyYipCoding2 жыл бұрын
feel free to change the code however you like
@BulletPhase10 ай бұрын
yeah cus your game deffo needs to be SEO optimised