How to write a correct querySelector

This is the html i want to write in queryselector

<a id="foo" (click)="jump('labeled')">Labeled</a>

And below is the wrong selector i wrote :

var indicator = document.querySelector(".indexing a[(click)=jump(" + sectionId + ")] ");

Labeled is the sectionId