๐๐ป
I am trying to figure out how i can add an eventlistener to a <a> tag, but the <a> tag don't have a class. There are more than one <a> tag on the page, so i figured a for loop is needed. What i do have is a class on the parent <div> element. I can make one link work, but not all of them.
I have attached an image of the code.
All help/tips are greatly appreciated!๐ฅ ๐๐ผ