Here is the markup
<!--my.component.html при загрузке страницы--> <ul> <li class="active">Value 1</li> <li>Value 2</li> <li>Value 3</li> </ul>
Task : by clicking on a list item, add the .active class to it, and remove this class from others.
Difficult to rebuild after js / jquery, please help me figure it out. How to gracefully implement this in angular7?