@ayo Creating unique class names for every element goes against the very concept of the class attribute. You can, however, dynamically create unique id attributes. That is usually a good idea. If you're using templates, you probably can do that easily.