Can I add a different ID or class to each text input?

I want to add some Javascript code to my website which takes the users’ input from the text input field. I have a lot of text input fields as my website is an online learning platform so my question is: Is there a way to add a class or an ID to each text input so I don’t select all of them at once?
As far as I know, all of them have the same class (class=“bubble-element MultiLineInput”).

This topic was automatically closed after 70 days. New replies are no longer allowed.