Message from JavaScript discussions

December 2020

β€” Hello who can help me to edit a spin the wheel game js.
I want the spin to end on a number over and over again instead of spinning randomly

Message permanent page


I am new to JS but mathematically it's like choosing from a set of number randomly with each number being assigned some biases.

So what you can do is assign a very high bias like nearing to 1 to the value you want again and again and for rest very little bias.

β€” Just set one Nummer then

β€” Just a warning, you will make no money if that's a gambling platform 😜πŸ€ͺ

β€” Lol

β€” Ok

β€” Another day in the code heaven, huh🀀

β€” These are runes, think they can be used in a sortbox, descending order and custom/fixed order, if Tyr is reversed, it means ascending orderπŸ€”

Message permanent page

β€” Nice control

β€” Hi guys u happen to have a ul element in html i need to target the li under the ul and add a on hover event when ever it it individualy hoverd not all li

Message permanent page

β€” [...yourUl.children].forEach(li => li.addEventListener('hover', whateverFunction));

β€” But when i queery selector it it returns an array