I'm new in Angular and I need to make Navigation bar for quiz. Each question has it's own checkbox and when it's pressed, this question's link in navigation somehow changes (e.g. background turns red). So I want to make navigation as link array, but I have no idea how to change each link according to checked chackbox. As I understand it, we have one array, clicking on checkbox we take from this array an item and put it to another array and then this array give to links, but how to write this functions? Any idea?
Aucun commentaire:
Enregistrer un commentaire