r/programmingrequests • • Feb 06 '17

Random Class Randomizer code debug help

Currently making a random class generator which i assume is almost complete (in JavaScript), however it's got an error i am unsure how to fix (I'm extremely novice at coding), so any help is appreciated!

Pastebin link - http://pastebin.com/6ZsfzZ14

JSFiddle link - https://jsfiddle.net/tyconson67/45301noz/7/

If you make your own version of the software that's also fine, i just want one of these things to exist. All variables are there and such, i'm probably missing a bracket or misspelt something but am unable to find out what is causing the error (It's an "Unexpected String" error)

2 Upvotes

3 comments sorted by

View all comments

2

u/SamSlate Feb 06 '17

you need a comma after "venom".

open up the console/inspector (ctrl+shift+i) and it will show you which lines are producing errors.

2

u/tyconson67 Feb 06 '17

It fixed the error, and after i ordered some other things around that were causing errors, it worked perfectly

thank you <3

1

u/SamSlate Feb 06 '17

good luck! happy debugging!