I have this working Javascript code which I need to duplicate for another element and I don\'t know how.
I tried it with change IDs and Javascript variables but that was