I’m not a developer, so please view my query with that context in mind.
I’d like to select and modify buttons with the combination of classes ‘secondary button’ and ‘angle-right’. In this case, the modification is to append an icon from Font Awesome using the code after the ‘Learn more’ text on each button.
What code can I use to select and modify this combination of classes?
Ideally, I’d like to add the class ‘angle right’ to various buttons classes (e.g. the class ‘primary button’ and ‘news button’) and just modify ‘angle right’.
HI @tom.alffie when using javaScript you should use appendChild as append in javaScript has different meaning that has in jQuery. You do not need IIFE to add icon to each element but use loop instead.