I’m trying to make my current gen in a duplicationfriendly format so ppl can just edit the Starter lists on the left to edit the styles the gen starts with. BUT ITS HARD. I did the accessing the “Starters” list thru root and it definitely has the items as seen below when it runs. but joinitems doesn’t work on the object root gives and nor does it have a length or any way to iterate thru the entries to build an object out of the list entries. How do I get all the entries from the twotiered ‘Starters’ list in to javascript so i can access the info it contains?

  • allo@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 day ago

    thank you for the help vioneT! im not trying to do anything random and combining was just a workaround i was thinking could work. the gen is here with the html code at the bottom

    im trying to read thru the list of lists and create an element for each thing. Every number translated in to an element and every individual description translated in to an element. So i need to, not randomly, get the whole list. Trying For loops now to iterate thru each level to access every item and then I can just make the elements on each level of For loop, but it just repeats like 9+ blank popups instead when i test whether it’s outputting correctly.