How do you target an html object that was created with the .html? I want to target the li's here:
cardMenu.html = "<ul> <li>Menu Item</li> <li>Menu Item</li> <li>Menu Item</li> <li>Menu Item</li></ul>"
" is used for one-line string. multi-line string is """(3 times "), used like this
layer.html = """ <ul> </ul>""""
any reason why youre making these in HTML? i would definitely suggest you make each LI as its own layer...
Just for speed, it isn't an important thing, just wanted it done fast as possible.
try something like this (which is also pretty quick i think)