Hello. I have problem with my code in Ionic. I write a simply code, and I want to add “onclick” , but when i clicked button then i see the error “check is not defined”. Here is my code: https://pastebin.com/cp7u1QTu .I will be grateful for your help.
That is extremely unidiomatic code on many fronts. Get rid of all the direct DOM manipulation for starters and use Angular template syntax instead.