I am trying to make a wheel and I idk what to do 😭 😭 😭 I HAVE TRIED EVERYTHING THAT WAS IN THE INTRUCTIONS
https://perchance.org/isjmalthro#edit
good job you are very close
i just put one line in the html and it works :)
grats on getting in to code!
THANK YOU SO MUCH! ❤️ ❤️ ❤️
Is it possible to add like a You spun option?
What do you mean? Can you please describe in more detail?
Well I was kinda stuck and when I saw what you edited then I did that so thank you
https://perchance.org/dwo1fuphwv#edit
saw your thing has errors so here it is with indentIng fixed on “wheeloptions” and “direction”
did you mean what i said before?
“Is it possible to add like a You spun option?”
ok so like on the wheel after you spin it is says you spun"prize 1!"
Okay, so you don’t need to put the code into the HTML as well; you can remove that.
The error box tells you there’s an error with [output]. Which you don’t need at all, so you can remove that from the HTML panel and that error will go away.
The wheelOptions object in the perchance panel ends immediately (with no items or properties or settings)… because the next line
lineWidth=10
is not indented. So it just starts its own new list calledlineWidth=10
. That’s not what you want.Indent it, and now that is a property of wheelOptions, and the rest of the items below it will be as well. So when wheelOptions is sent into that makeWheel() function it will use those settings to build the wheel.
perchance.org I am new to making code so how do I indent?
You can use
Tab
or keyboard shortcutCtrl+]
to indent a line without having to move the cursor to the first few characters. AlsoShift+Tab
orCtrl+[
to unindent the line in the same way.Removed by mod