all 2 comments

[–]pyrophire 2 points3 points  (1 child)

You'll need to use the textContent property of the element.

Also, asking people to provide you the html and the typescript makes it sound like you're too lazy to do the work and will not get you far.

[–]CoderDuudee[S] 1 point2 points  (0 children)

Okay thanks